diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-09-28 07:01:54 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-09-28 07:01:54 +0000 |
commit | d0aa741310827933f03f54a327c7943ac8bab8e1 (patch) | |
tree | 37f27b26a180d3ca763d43c1482ba0f009e8cf51 /sys/dev/usb/controller/uhci.c | |
parent | d2f83e3acde61a67c746b7a212a0ee867691028d (diff) | |
download | FreeBSD-src-d0aa741310827933f03f54a327c7943ac8bab8e1.zip FreeBSD-src-d0aa741310827933f03f54a327c7943ac8bab8e1.tar.gz |
MFp4 @ 168387
- clean up USB detach logic. There seems to be some problems detaching multiple
USB HUBs connected in series from the root.
- after this patch the rule is:
1) Always use device_detach() on the USB HUB first.
2) Never just device_delete_child() on the USB HUB, because that function
will traverse to all the device leaves and free them first, and then the USB
stack will free the devices twice which doesn't work very well.
- make sure the did DMA delay gets set after the timeout has elapsed to make
logic more clear. There is no functional difference.
Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/controller/uhci.c')
0 files changed, 0 insertions, 0 deletions