panic after removing usb flash drive
M. Warner Losh
imp at bsdimp.com
Wed Aug 31 21:45:25 PDT 2005
In message: <20050831174631.GE37930 at cicely12.cicely.de>
Bernd Walter <ticso at cicely12.cicely.de> writes:
: Yes - umass creates a SIM, bus and targed, because that is what a user
: really attaches/detaches.
For what it is worth, in the PC Card and CardBus case, the drivers
aren't allowed to 'fail' the detach. They are required to succeed,
and are removed from the driver tree if they try to return a failure
code. All their resources are removed and interrupts are removed.
The hardware is gone, and the driver has no say so about going away.
At least that's the model we currently have.
More information about the freebsd-current