diff options
| author | Ian Dowse <iedowse@FreeBSD.org> | 2006-01-15 20:41:04 +0000 |
|---|---|---|
| committer | Ian Dowse <iedowse@FreeBSD.org> | 2006-01-15 20:41:04 +0000 |
| commit | df3e5efa87711aaaab059d6fa27a956519931a02 (patch) | |
| tree | 7b5de58569d7c77477a9f46cba2f25b55e8d72aa /sys/dev/usb | |
| parent | c15e3d30c719e9e2dc3f15b34a90a3b34e8de91b (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/ehci.c | 2 | ||||
| -rw-r--r-- | sys/dev/usb/ohci.c | 2 | ||||
| -rw-r--r-- | sys/dev/usb/uhci.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c index e084910cc36f0..eeb47a482dc54 100644 --- a/sys/dev/usb/ehci.c +++ b/sys/dev/usb/ehci.c @@ -935,6 +935,8 @@ ehci_detach(struct ehci_softc *sc, int flags) if (rv != 0) return (rv); +#else + sc->sc_dying = 1; #endif EOWRITE4(sc, EHCI_USBINTR, sc->sc_eintrs); diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index d2e25d356a440..88ddfc7f36671 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -393,6 +393,8 @@ ohci_detach(struct ohci_softc *sc, int flags) if (rv != 0) return (rv); +#else + sc->sc_dying = 1; #endif usb_uncallout(sc->sc_tmo_rhsc, ohci_rhsc_enable, sc); diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index 05fdd1eddb184..3382d5b424c6e 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -585,6 +585,8 @@ uhci_detach(struct uhci_softc *sc, int flags) if (rv != 0) return (rv); +#else + sc->sc_dying = 1; #endif UWRITE2(sc, UHCI_INTR, 0); /* disable interrupts */ |
