summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authormk <mk@openbsd.org>2007-04-23 19:29:03 +0000
committermk <mk@openbsd.org>2007-04-23 19:29:03 +0000
commit77d6f5e32272ea99ace0905c0c2eab61d6764af9 (patch)
treeae7931e156d077c5594a19d27c8e1b732e51ff3d /sys/dev/softraid.c
parentRemove duplicate commment (diff)
downloadwireguard-openbsd-77d6f5e32272ea99ace0905c0c2eab61d6764af9.tar.xz
wireguard-openbsd-77d6f5e32272ea99ace0905c0c2eab61d6764af9.zip
When receiving an undock request, walk the list of dependant devices
and pull their _EJ0 knobs before undocking. This ejects any dependant devices (if necessary) before actually undocking. Without this, the usb hub in my X6 gets upset when it's suddenly kicked off the system without warning, and upon redocking it attaches as uberry. Now it's behaving as it should.
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions