- added code to handle the race condition where usb_storage
commit695339f9a3ef95a9b0c2532ab4dde325971e695f
authorcdfrey <cdfrey>
Fri, 30 Nov 2007 00:00:05 +0000 (30 00:00 +0000)
committercdfrey <cdfrey>
Fri, 30 Nov 2007 00:00:05 +0000 (30 00:00 +0000)
tree2e65cb6428a0708968407f0f5c99c728a82dc2d3
parent9644d5d2d11ade9f21e7cafb95e8d3398be3df75
- added code to handle the race condition where usb_storage
       claims the device before bcharge arrives on the scene,
       by asking the kernel to detach the driver from
       the Mass Storage interface... this change makes it
       possible to run bcharge, moving from 0006 to 0004
       to 0001 and back to 0004, all *while* usb_storage
       is loaded!
tools/bcharge.cc