sparcDeviceName: do not fall back to wsfb if no hw specific driver
was found. This is done in the caller already. While there change to a switch() construct to prepare for potential future drivers addition.
This commit is contained in:
parent
8ac1a9e654
commit
768012be84
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user