summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/uhci_pci.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-10-26 20:23:15 +0000
committerthompsa <thompsa@FreeBSD.org>2009-10-26 20:23:15 +0000
commit8f17b6fdd9def8c843751b1b5f7eb581d17a8a56 (patch)
treec87ef421db3c402287e85c11185cd8df2c268cf8 /sys/dev/usb/controller/uhci_pci.c
parent78210debc46f624bad3c94f727c3c5b4021c97be (diff)
downloadFreeBSD-src-8f17b6fdd9def8c843751b1b5f7eb581d17a8a56.zip
FreeBSD-src-8f17b6fdd9def8c843751b1b5f7eb581d17a8a56.tar.gz
Remove usb controller takeover code now that it is handled by the pci code.
Reminded by: jhb Reviewed by: HPS
Diffstat (limited to 'sys/dev/usb/controller/uhci_pci.c')
-rw-r--r--sys/dev/usb/controller/uhci_pci.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/dev/usb/controller/uhci_pci.c b/sys/dev/usb/controller/uhci_pci.c
index 3956ead..e367b23 100644
--- a/sys/dev/usb/controller/uhci_pci.c
+++ b/sys/dev/usb/controller/uhci_pci.c
@@ -115,8 +115,6 @@ uhci_pci_resume(device_t self)
{
uhci_softc_t *sc = device_get_softc(self);
- pci_write_config(self, PCI_LEGSUP, PCI_LEGSUP_USBPIRQDEN, 2);
-
uhci_resume(sc);
bus_generic_resume(self);
@@ -363,19 +361,6 @@ uhci_pci_attach(device_t self)
sc->sc_intr_hdl = NULL;
goto error;
}
- /*
- * Set the PIRQD enable bit and switch off all the others. We don't
- * want legacy support to interfere with us XXX Does this also mean
- * that the BIOS won't touch the keyboard anymore if it is connected
- * to the ports of the root hub?
- */
-#ifdef USB_DEBUG
- if (pci_read_config(self, PCI_LEGSUP, 2) != PCI_LEGSUP_USBPIRQDEN) {
- device_printf(self, "LegSup = 0x%04x\n",
- pci_read_config(self, PCI_LEGSUP, 2));
- }
-#endif
- pci_write_config(self, PCI_LEGSUP, PCI_LEGSUP_USBPIRQDEN, 2);
err = uhci_init(sc);
if (!err) {
OpenPOWER on IntegriCloud