diff options
author | Christopher Pascoe <pascoe@cvs.openbsd.org> | 2005-03-06 05:30:08 +0000 |
---|---|---|
committer | Christopher Pascoe <pascoe@cvs.openbsd.org> | 2005-03-06 05:30:08 +0000 |
commit | 62ca6997c903e198f323ecfad58c87fc3924e798 (patch) | |
tree | 496e9e6b154181fa7733423e7c37ec6d0fbf374a /sys/dev/usb/ohci.c | |
parent | 89b8e59019f0fbe874c8ceb791798dccbec89438 (diff) |
ohci_rhsc_enable calls usb_transfer_complete via ohci_rhsc - we need to be
at splusb, not splsoftclock.
ok dlg@
Diffstat (limited to 'sys/dev/usb/ohci.c')
-rw-r--r-- | sys/dev/usb/ohci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index 720696b92b0..f17deedaa3a 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ohci.c,v 1.53 2005/03/06 05:12:00 pascoe Exp $ */ +/* $OpenBSD: ohci.c,v 1.54 2005/03/06 05:30:07 pascoe Exp $ */ /* $NetBSD: ohci.c,v 1.139 2003/02/22 05:24:16 tsutsui Exp $ */ /* $FreeBSD: src/sys/dev/usb/ohci.c,v 1.22 1999/11/17 22:33:40 n_hibma Exp $ */ @@ -1222,11 +1222,11 @@ ohci_rhsc_enable(void *v_sc) ohci_softc_t *sc = v_sc; int s; + s = splhardusb(); ohci_rhsc(sc, sc->sc_intrxfer); DPRINTFN(2, ("%s: rhsc interrupt enabled\n", USBDEVNAME(sc->sc_bus.bdev))); - s = splhardusb(); ohci_rhsc_able(sc, 1); splx(s); } |