Commit graph

15 commits

Author SHA1 Message Date
Wojciech Zajac
6763c425bb Corrected invalid URBs handling 2014-07-28 17:05:55 +02:00
Wojciech Zajac
e858b9b5e9 Make MUSB use 'interval' for bulk transfers 2014-07-28 17:05:54 +02:00
Wojciech Zajac
7df0836d35 USBD return value for wrong URB submit 2014-07-28 17:05:54 +02:00
Wojciech Zajac
c1ba580ae2 Generalization of USB transfer's error handling
No longer assumes EP0 for control transfer, in general HCD code.

Some additional cleanup.
2014-07-28 17:05:53 +02:00
Wojciech Zajac
bfff07c918 Memory related fixes for DDE/USBD
DDEKit has proper thread termination now. No more memory leaks on usb stick removal.

MUSB fixes for IRQ and memory mapping.
2014-07-28 17:05:51 +02:00
Wojciech Zajac
789aa37866 Upgraded HCD transfers
Types for data request are fixed and commented.

Control transfer has additional call for proper completion validation.
2014-07-28 17:05:51 +02:00
Wojciech Zajac
1858789bf6 Unification of various HCD types.
DDEKit URB's are no longer directly handled by HCD but rather translated and validated to avoid type conversion issues and illegal values.
2014-07-28 17:05:51 +02:00
Wojciech Zajac
7896beeeca Fixed setup packet configuration for USBD and disconnection cleanup 2014-07-28 17:05:50 +02:00
Wojciech Zajac
f73cacc767 Fix for usbd-usb_storage pairing and URB handling. Additional cleanup. 2014-07-28 17:05:50 +02:00
Wojciech Zajac
9f2204a8ad Resolution of some currently fixable TODOs 2014-07-28 17:05:50 +02:00
Wojciech Zajac
a42c8f6c41 Error checking for USB interrupt transfer 2014-07-28 17:05:41 +02:00
Wojciech Zajac
fc49538d86 Initial interrupt URBs support 2014-07-28 17:05:41 +02:00
Kees Jongenburger
880ae44a72 usb:Adding usb enumeration.
usbd update from JPEmbedded

Change-Id: I4098b29a3188abe7110d59f0746ea40ac5818bbf

http://gerrit.minix3.org/#/c/2698/
2014-07-28 17:05:40 +02:00
Kees Jongenburger
146e5a99e4 usbd:fix get_bp workaround
Change-Id: I6967dc515e3da4330503eb716e8f0165df71b8f1

http://gerrit.minix3.org/#/c/2697/
2014-07-28 17:05:40 +02:00
Kees Jongenburger
ed3391fd23 arm:adding the usbd source code.
Change-Id: Ia3c50a8c5e11bf20100354de266913112cc236f9

http://gerrit.minix3.org/#/c/2689/
2014-07-28 17:05:38 +02:00