diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2009-01-22 22:05:04 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2009-01-22 22:05:04 +0000 |
commit | da76a3469437261bd8857c6eddeaafcc601f373e (patch) | |
tree | 33e6c461aeb03d28575166c5ed5002aaf8ea9741 /firmware/export/usb.h | |
parent | 81df953da55e75632b5efbe676f2b348e11b2c4b (diff) | |
download | rockbox-da76a3469437261bd8857c6eddeaafcc601f373e.tar.gz rockbox-da76a3469437261bd8857c6eddeaafcc601f373e.zip |
Use bus reset detection for all ARC OTG devices. Remove conflict from LV24020LP driver with some GPIO-by-number macros for PP502x. Start monitoring for USB stack once all core threads and queues are created otherwise queues will likely be registered after USB acks. Putting PP502x system_reboot in IRAM (unmapped, uncached) memory seems to help it work more consistently. Hopefully I got all the PP USB connect handlers in the right spot in irq_handler. If device seems unresponsive to cable, check there first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19819 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/usb.h')
-rw-r--r-- | firmware/export/usb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h index 0a0539a622..90713594a5 100644 --- a/firmware/export/usb.h +++ b/firmware/export/usb.h | |||
@@ -31,8 +31,8 @@ | |||
31 | 31 | ||
32 | /* Messages from usb_tick and thread states */ | 32 | /* Messages from usb_tick and thread states */ |
33 | enum { | 33 | enum { |
34 | USB_EXTRACTED = 0, /* Event+State */ | ||
34 | USB_INSERTED, /* Event+State */ | 35 | USB_INSERTED, /* Event+State */ |
35 | USB_EXTRACTED, /* Event+State */ | ||
36 | #if defined(HAVE_USB_POWER) || defined(USB_DETECT_BY_DRV) | 36 | #if defined(HAVE_USB_POWER) || defined(USB_DETECT_BY_DRV) |
37 | USB_POWERED, /* Event+State */ | 37 | USB_POWERED, /* Event+State */ |
38 | #endif | 38 | #endif |
@@ -135,6 +135,7 @@ bool usb_exclusive_storage(void); /* storage is available for usb */ | |||
135 | 135 | ||
136 | #ifdef USB_FIREWIRE_HANDLING | 136 | #ifdef USB_FIREWIRE_HANDLING |
137 | bool firewire_detect(void); | 137 | bool firewire_detect(void); |
138 | void usb_firewire_connect_event(void); | ||
138 | #endif | 139 | #endif |
139 | 140 | ||
140 | #endif | 141 | #endif |