diff options
| author | Ian Dowse <iedowse@FreeBSD.org> | 2006-02-12 15:51:03 +0000 |
|---|---|---|
| committer | Ian Dowse <iedowse@FreeBSD.org> | 2006-02-12 15:51:03 +0000 |
| commit | 496a1b8908ef37316143ee33ffe8260f0983a2ef (patch) | |
| tree | b1b4346ea81939d2a537a2ac8f40ad332c054635 /sys/dev/usb | |
| parent | 430683286bd935c0cf1c8e0d107f5f4bf7fba750 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/umass.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c index 57ef5e557c0e5..596860bfcfc48 100644 --- a/sys/dev/usb/umass.c +++ b/sys/dev/usb/umass.c @@ -2651,21 +2651,17 @@ umass_cam_action(struct cam_sim *sim, union ccb *ccb) } } -/* umass_cam_poll - * all requests are handled through umass_cam_action, requests - * are never pending. So, nothing to do here. - */ Static void umass_cam_poll(struct cam_sim *sim) { -#ifdef USB_DEBUG struct umass_softc *sc = (struct umass_softc *) sim->softc; DPRINTF(UDMASS_SCSI, ("%s: CAM poll\n", USBDEVNAME(sc->sc_dev))); -#endif - /* nop */ + usbd_set_polling(sc->sc_udev, 1); + usbd_dopoll(sc->iface); + usbd_set_polling(sc->sc_udev, 0); } |
