diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2008-03-12 20:57:17 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2008-03-12 20:57:17 +0000 |
| commit | e249f70262564269c20e6d022cd9d97f7b7699ed (patch) | |
| tree | 8cac8c919015b82b3e0aa386afae2dd647a45103 /sys/dev | |
| parent | 4c134f3e801548185ff51f18d024aa180495b4ed (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/usb/ehci_pci.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/usb/ehci_pci.c b/sys/dev/usb/ehci_pci.c index d64dd5c44728..e8e3540dae63 100644 --- a/sys/dev/usb/ehci_pci.c +++ b/sys/dev/usb/ehci_pci.c @@ -538,8 +538,9 @@ ehci_pci_takecontroller(device_t self) if (EHCI_EECP_ID(eec) != EHCI_EC_LEGSUP) continue; legsup = eec; - pci_write_config(self, eecp, legsup | EHCI_LEGSUP_OSOWNED, 4); if (legsup & EHCI_LEGSUP_BIOSOWNED) { + pci_write_config(self, eecp, + legsup | EHCI_LEGSUP_OSOWNED, 4); printf("%s: waiting for BIOS to give up control\n", device_get_nameunit(sc->sc_bus.bdev)); for (i = 0; i < 5000; i++) { @@ -558,6 +559,7 @@ ehci_pci_takecontroller(device_t self) static void ehci_pci_givecontroller(device_t self) { +#if 0 ehci_softc_t *sc = device_get_softc(self); u_int32_t cparams, eec, legsup; int eecp; @@ -571,6 +573,7 @@ ehci_pci_givecontroller(device_t self) legsup = eec; pci_write_config(self, eecp, legsup & ~EHCI_LEGSUP_OSOWNED, 4); } +#endif } static device_method_t ehci_methods[] = { |
