Only display the 'Disable PNP-OS BIOS option' message on the i386 arch.
Alpha's don't have a PNP BIOS option. Reviewed by: n_hibma
This commit is contained in:
parent
f6c7a9efb8
commit
6492f6750d
@ -159,7 +159,9 @@ ohci_pci_attach(device_t self)
|
||||
intr = pci_read_config(self, PCIR_INTLINE, 1);
|
||||
if (intr == 0 || intr == 255) {
|
||||
device_printf(self, "Invalid irq %d\n", intr);
|
||||
#ifdef __i386__
|
||||
device_printf(self, "Please switch on USB support and switch PNP-OS to 'No' in BIOS\n");
|
||||
#endif
|
||||
return ENXIO;
|
||||
}
|
||||
|
||||
|
@ -176,7 +176,9 @@ uhci_pci_attach(device_t self)
|
||||
intr = pci_read_config(self, PCIR_INTLINE, 1);
|
||||
if (intr == 0 || intr == 255) {
|
||||
device_printf(self, "Invalid irq %d\n", intr);
|
||||
#ifdef __i386__
|
||||
device_printf(self, "Please switch on USB support and switch PNP-OS to 'No' in BIOS\n");
|
||||
#endif
|
||||
return ENXIO;
|
||||
}
|
||||
|
||||
|
@ -159,7 +159,9 @@ ohci_pci_attach(device_t self)
|
||||
intr = pci_read_config(self, PCIR_INTLINE, 1);
|
||||
if (intr == 0 || intr == 255) {
|
||||
device_printf(self, "Invalid irq %d\n", intr);
|
||||
#ifdef __i386__
|
||||
device_printf(self, "Please switch on USB support and switch PNP-OS to 'No' in BIOS\n");
|
||||
#endif
|
||||
return ENXIO;
|
||||
}
|
||||
|
||||
|
@ -176,7 +176,9 @@ uhci_pci_attach(device_t self)
|
||||
intr = pci_read_config(self, PCIR_INTLINE, 1);
|
||||
if (intr == 0 || intr == 255) {
|
||||
device_printf(self, "Invalid irq %d\n", intr);
|
||||
#ifdef __i386__
|
||||
device_printf(self, "Please switch on USB support and switch PNP-OS to 'No' in BIOS\n");
|
||||
#endif
|
||||
return ENXIO;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user