summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/usb/ohci_pci.c2
-rw-r--r--sys/dev/usb/uhci_pci.c2
-rw-r--r--sys/pci/ohci_pci.c2
-rw-r--r--sys/pci/uhci_pci.c2
4 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/usb/ohci_pci.c b/sys/dev/usb/ohci_pci.c
index 47f6642..e1076f8 100644
--- a/sys/dev/usb/ohci_pci.c
+++ b/sys/dev/usb/ohci_pci.c
@@ -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;
}
diff --git a/sys/dev/usb/uhci_pci.c b/sys/dev/usb/uhci_pci.c
index ef716aa..d08fcb1 100644
--- a/sys/dev/usb/uhci_pci.c
+++ b/sys/dev/usb/uhci_pci.c
@@ -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;
}
diff --git a/sys/pci/ohci_pci.c b/sys/pci/ohci_pci.c
index 47f6642..e1076f8 100644
--- a/sys/pci/ohci_pci.c
+++ b/sys/pci/ohci_pci.c
@@ -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;
}
diff --git a/sys/pci/uhci_pci.c b/sys/pci/uhci_pci.c
index ef716aa..d08fcb1 100644
--- a/sys/pci/uhci_pci.c
+++ b/sys/pci/uhci_pci.c
@@ -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;
}
OpenPOWER on IntegriCloud