freebsd-nq/sys/dev/usb
Warner Losh 9c3ae2ef4b Add a temporary workaround to the panic on boot with hub attached and
panic on hub detach bugs that have been reported.  This work around
detaches the device before deleting it.  This changes the detach order
from in-order to pre-order.  This avoids uhub's deleting the children
after its subdevs has been deleted.

This is only a workaround.  This leads to a strange condition in the
device tree where attached devices are children of detached ones.  I
really don't know what that's supposed to mean, but does violate my
sense of POLA.  Fortunately, the violation is short lived, which is
why I'm going ahead and committing the work around.

# We really need to consider life w/o the multiple nested layers of
# compatibility macros.  They make finding bugs like this *MUCH*
# harder.

Patch by: iadowse

MT5 before: next_release(5.3-BETA5) (unless someting better comes along)
2004-09-22 06:02:10 +00:00
..
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 Add Sitecom's LN-029 USB 2.0 Ethernet adapter. 2004-09-18 19:48:10 +00:00
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 Use ttyalloc() instead of ttymalloc(NULL) 2004-09-17 07:28:07 +00:00
ubser.h
ucom.c Fix compilation again. 2004-09-17 19:24:58 +00:00
ucomvar.h Overhaul ucom serial driver by using generic stuff instead of homerolled 2004-09-17 11:53:45 +00:00
ucycom.c
udbp.c
udbp.h
ufm.c
uftdi.c
uftdireg.h
ugen.c For the moment, back out my back out of green's 1.87 commit. While it 2004-09-09 17:49:53 +00:00
ugraphire_rdesc.h
uhci_pci.c
uhci.c
uhcireg.h
uhcivar.h
uhid.c
uhub.c We don't need a uhub_child_detached() routine now that we don't detach 2004-09-09 20:43:49 +00:00
ukbd.c
ulpt.c
umass.c
umct.c
umodem.c Overhaul ucom serial driver by using generic stuff instead of homerolled 2004-09-17 11:53:45 +00:00
ums.c
uplcom.c Overhaul ucom serial driver by using generic stuff instead of homerolled 2004-09-17 11:53:45 +00:00
urio.c
usb_ethersubr.c
usb_ethersubr.h
usb_if.m
usb_mem.c
usb_mem.h
usb_port.h Add a temporary workaround to the panic on boot with hub attached and 2004-09-22 06:02:10 +00:00
usb_quirks.c
usb_quirks.h
usb_subr.c Add comments about why we're freeing subdevs (which is completely 2004-09-09 20:47:28 +00:00
usb.c
usb.h
usbcdc.h
usbdevs add '/* Panasonic products */' line(I removed it) 2004-09-20 04:56:13 +00:00
usbdi_util.c
usbdi_util.h
usbdi.c
usbdi.h
usbdivar.h
usbhid.h
uscanner.c
uvisor.c
uvscom.c Overhaul ucom serial driver by using generic stuff instead of homerolled 2004-09-17 11:53:45 +00:00