diff options
| author | Seigo Tanimura <tanimura@FreeBSD.org> | 2003-11-09 09:17:26 +0000 |
|---|---|---|
| committer | Seigo Tanimura <tanimura@FreeBSD.org> | 2003-11-09 09:17:26 +0000 |
| commit | 512824f8f7748f7bb54ef900bc8e68a95a3d0f4d (patch) | |
| tree | 19de3ca43ba82c3cf15a4a6c7fba917e0f7e416b /sys/dev/usb | |
| parent | 2e55d247a6d6610c98412798ff06d682f2ee91c6 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/ucom.c | 2 | ||||
| -rw-r--r-- | sys/dev/usb/ugen.c | 4 | ||||
| -rw-r--r-- | sys/dev/usb/uhid.c | 2 | ||||
| -rw-r--r-- | sys/dev/usb/ums.c | 4 | ||||
| -rw-r--r-- | sys/dev/usb/usb.c | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c index b398661c9974..a57d6f82e997 100644 --- a/sys/dev/usb/ucom.c +++ b/sys/dev/usb/ucom.c @@ -875,7 +875,7 @@ ucomstart(struct tty *tp) CLR(tp->t_state, TS_SO_OLOWAT); wakeup(TSA_OLOWAT(tp)); } - selwakeup(&tp->t_wsel); + selwakeuppri(&tp->t_wsel, TTIPRI); if (tp->t_outq.c_cc == 0) { if (ISSET(tp->t_state, TS_BUSY | TS_SO_OCOMPLETE) == TS_SO_OCOMPLETE && tp->t_outq.c_cc == 0) { diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c index bf73938f1f46..8740c3d7fef0 100644 --- a/sys/dev/usb/ugen.c +++ b/sys/dev/usb/ugen.c @@ -945,7 +945,7 @@ ugenintr(usbd_xfer_handle xfer, usbd_private_handle addr, usbd_status status) DPRINTFN(5, ("ugen_intr: waking %p\n", sce)); wakeup(sce); } - selwakeup(&sce->rsel); + selwakeuppri(&sce->rsel, PZERO); } Static void @@ -1005,7 +1005,7 @@ ugen_isoc_rintr(usbd_xfer_handle xfer, usbd_private_handle addr, DPRINTFN(5, ("ugen_isoc_rintr: waking %p\n", sce)); wakeup(sce); } - selwakeup(&sce->rsel); + selwakeuppri(&sce->rsel, PZERO); } Static usbd_status diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c index c61e4baaf4a7..2451542f7946 100644 --- a/sys/dev/usb/uhid.c +++ b/sys/dev/usb/uhid.c @@ -383,7 +383,7 @@ uhid_intr(usbd_xfer_handle xfer, usbd_private_handle addr, usbd_status status) DPRINTFN(5, ("uhid_intr: waking %p\n", &sc->sc_q)); wakeup(&sc->sc_q); } - selwakeup(&sc->sc_rsel); + selwakeuppri(&sc->sc_rsel, PZERO); if (sc->sc_async != NULL) { DPRINTFN(3, ("uhid_intr: sending SIGIO %p\n", sc->sc_async)); PROC_LOCK(sc->sc_async); diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c index f09fba7eb815..dea1e0b8f827 100644 --- a/sys/dev/usb/ums.c +++ b/sys/dev/usb/ums.c @@ -394,7 +394,7 @@ ums_detach(device_t self) } if (sc->state & UMS_SELECT) { sc->state &= ~UMS_SELECT; - selwakeup(&sc->rsel); + selwakeuppri(&sc->rsel, PZERO); } destroy_dev(sc->dev); @@ -533,7 +533,7 @@ ums_add_to_queue(struct ums_softc *sc, int dx, int dy, int dz, int buttons) } if (sc->state & UMS_SELECT) { sc->state &= ~UMS_SELECT; - selwakeup(&sc->rsel); + selwakeuppri(&sc->rsel, PZERO); } } Static int diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c index 846a82fe32f5..dd2e2b361ebd 100644 --- a/sys/dev/usb/usb.c +++ b/sys/dev/usb/usb.c @@ -810,7 +810,7 @@ usb_add_event(int type, struct usb_event *uep) TAILQ_INSERT_TAIL(&usb_events, ueq, next); usb_nevents++; wakeup(&usb_events); - selwakeup(&usb_selevent); + selwakeuppri(&usb_selevent, PZERO); if (usb_async_proc != NULL) { PROC_LOCK(usb_async_proc); psignal(usb_async_proc, SIGIO); |
