diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2009-01-13 16:27:35 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2009-01-13 16:27:35 +0000 |
| commit | 6da8b4eb4925f167588c868a64d2d057ca3bf85f (patch) | |
| tree | 1441169e97f7ece3422a49e51dc512c8be0b31ae /apps | |
| parent | 30414d56c9f8b4fc35ac2918c4d22e5e2ded0eb6 (diff) | |
| download | rockbox-6da8b4eb4925f167588c868a64d2d057ca3bf85f.zip rockbox-6da8b4eb4925f167588c868a64d2d057ca3bf85f.tar.gz rockbox-6da8b4eb4925f167588c868a64d2d057ca3bf85f.tar.bz2 rockbox-6da8b4eb4925f167588c868a64d2d057ca3bf85f.tar.xz | |
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
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/debug_menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 7477bb0..d3022df 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -2575,7 +2575,7 @@ static bool logf_usb_serial(void) } #endif -#if defined(HAVE_USBSTACK) && defined(USB_STORAGE) +#if 0 && defined(HAVE_USBSTACK) && defined(USB_STORAGE) static bool usb_reconnect(void) { splash(HZ, "Reconnect mass storage"); @@ -2720,7 +2720,7 @@ static const struct the_menu_item menuitems[] = { #if defined(HAVE_USBSTACK) && defined(ROCKBOX_HAS_LOGF) && defined(USB_SERIAL) {"logf over usb",logf_usb_serial }, #endif -#if defined(HAVE_USBSTACK) && defined(USB_STORAGE) +#if 0 && defined(HAVE_USBSTACK) && defined(USB_STORAGE) {"reconnect usb storage",usb_reconnect}, #endif #ifdef CPU_BOOST_LOGGING |