63ba42fbf5
The reference counts are there to block detach until the sleepers in read/write/ioctl have gotten out, not to prevent the open device from going away. Restore the old behavior so that we have a chance to wake up sleepers when the usb device goes away, so they can properly return EIO back to the caller when this happens. Otherwise, we have a guarnateed panic waiting to happen when a device detaches with an active read channel. This should be merged to 5 asap. |
||
---|---|---|
.. | ||
dsbr100io.h | ||
ehci_pci.c | ||
ehci.c | ||
ehcireg.h | ||
ehcivar.h | ||
FILES | ||
hid.c | ||
hid.h | ||
if_aue.c | ||
if_auereg.h | ||
if_axe.c | ||
if_axereg.h | ||
if_cue.c | ||
if_cuereg.h | ||
if_kue.c | ||
if_kuereg.h | ||
if_rue.c | ||
if_ruereg.h | ||
if_udav.c | ||
if_udavreg.h | ||
kue_fw.h | ||
ohci_pci.c | ||
ohci.c | ||
ohcireg.h | ||
ohcivar.h | ||
rio500_usb.h | ||
ubsa.c | ||
ubser.c | ||
ubser.h | ||
ucom.c | ||
ucomvar.h | ||
ucycom.c | ||
udbp.c | ||
udbp.h | ||
ufm.c | ||
uftdi.c | ||
uftdireg.h | ||
ugen.c | ||
ugraphire_rdesc.h | ||
uhci_pci.c | ||
uhci.c | ||
uhcireg.h | ||
uhcivar.h | ||
uhid.c | ||
uhub.c | ||
ukbd.c | ||
ulpt.c | ||
umass.c | ||
umct.c | ||
umodem.c | ||
ums.c | ||
uplcom.c | ||
urio.c | ||
usb_ethersubr.c | ||
usb_ethersubr.h | ||
usb_if.m | ||
usb_mem.c | ||
usb_mem.h | ||
usb_port.h | ||
usb_quirks.c | ||
usb_quirks.h | ||
usb_subr.c | ||
usb.c | ||
usb.h | ||
usbcdc.h | ||
usbdevs | ||
usbdi_util.c | ||
usbdi_util.h | ||
usbdi.c | ||
usbdi.h | ||
usbdivar.h | ||
usbhid.h | ||
uscanner.c | ||
uvisor.c | ||
uvscom.c |