summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uhci_pci.c
diff options
context:
space:
mode:
authorNick Sayer <nsayer@FreeBSD.org>2000-12-03 17:07:19 +0000
committerNick Sayer <nsayer@FreeBSD.org>2000-12-03 17:07:19 +0000
commit305501d3299ab2fba2c0229eec3ba0329130ec09 (patch)
treeba9326bedcc020440cae7419fbfed127fa654442 /sys/dev/usb/uhci_pci.c
parent48a1ef22849bc50fdfcdbccfd1d44b116d14f50a (diff)
Notes
Diffstat (limited to 'sys/dev/usb/uhci_pci.c')
-rw-r--r--sys/dev/usb/uhci_pci.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/dev/usb/uhci_pci.c b/sys/dev/usb/uhci_pci.c
index 003a415b052e..d3dfa09a371d 100644
--- a/sys/dev/usb/uhci_pci.c
+++ b/sys/dev/usb/uhci_pci.c
@@ -175,16 +175,6 @@ uhci_pci_attach(device_t self)
int intr;
int err;
- /* For the moment, put in a message stating what is wrong */
- 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;
- }
-
rid = PCI_UHCI_BASE_REG;
sc->io_res = bus_alloc_resource(self, SYS_RES_IOPORT, &rid,
0, ~0, 1, RF_ACTIVE);