USB retweaking: Take out the USB_REQUEST/RELEASE_DISK scheme and simply ask the USB...
commit222ec057fa5e9bb3cdfc590195a70c42a7b11b12
authorjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Tue, 13 Jan 2009 16:27:35 +0000 (13 16:27 +0000)
committerjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Tue, 13 Jan 2009 16:27:35 +0000 (13 16:27 +0000)
tree1441169e97f7ece3422a49e51dc512c8be0b31ae
parent6411f8d39655c3f5412061dd4469b32afc34e923
USB retweaking: Take out the USB_REQUEST/RELEASE_DISK scheme and simply ask the USB core whether or not any drivers require exclusive access at the moment of connect. Doing anthing else just produces nasty effects on Windows because it expects some communication just for enabling the PHY and not allowing it to mount volumes if a thread doesn't ack causes annoying error message boxes. Make behavior of each USB type identical from the system perspective. Some miscellaneous changes (simplify, ata->storage naming, define only used USB_* enums values were possible).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19762 a1c6a512-1295-4272-9138-f99709370657
apps/debug_menu.c
firmware/drivers/ata.c
firmware/export/usb.h
firmware/export/usb_core.h
firmware/usb.c
firmware/usbstack/usb_charging_only.h
firmware/usbstack/usb_class_driver.h
firmware/usbstack/usb_core.c
firmware/usbstack/usb_storage.c