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:
John Baldwin 2000-05-11 20:17:28 +00:00
parent f6c7a9efb8
commit 6492f6750d
4 changed files with 8 additions and 0 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}