summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uhci.c
diff options
context:
space:
mode:
authorIan Dowse <iedowse@FreeBSD.org>2006-01-15 20:41:04 +0000
committerIan Dowse <iedowse@FreeBSD.org>2006-01-15 20:41:04 +0000
commitdf3e5efa87711aaaab059d6fa27a956519931a02 (patch)
tree7b5de58569d7c77477a9f46cba2f25b55e8d72aa /sys/dev/usb/uhci.c
parentc15e3d30c719e9e2dc3f15b34a90a3b34e8de91b (diff)
Notes
Diffstat (limited to 'sys/dev/usb/uhci.c')
-rw-r--r--sys/dev/usb/uhci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index 05fdd1eddb18..3382d5b424c6 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 */