diff options
Diffstat (limited to 'xserver/hw/xfree86/os-support/bsd/bsd_sbus.c')
-rw-r--r-- | xserver/hw/xfree86/os-support/bsd/bsd_sbus.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/xserver/hw/xfree86/os-support/bsd/bsd_sbus.c b/xserver/hw/xfree86/os-support/bsd/bsd_sbus.c index ad0797437..859eb184a 100644 --- a/xserver/hw/xfree86/os-support/bsd/bsd_sbus.c +++ b/xserver/hw/xfree86/os-support/bsd/bsd_sbus.c @@ -198,8 +198,11 @@ sparcPromClose(void) char * sparcDriverName(void) { - if (sbusInfo.devId == SBUS_DEVICE_FFB) + + switch (sbusInfo.devId) { + case SBUS_DEVICE_FFB: return "sunffb"; - else - return "wsfb"; + default: + return NULL; + } } |