8 Commits

Author SHA1 Message Date
hathach
b1db85dedf - addd p_qtd_list_tail to qhd structure for easy queue TD
- move control_request from ehci_data to usbh_device_info_pool
- add test for bulk transfer double (2 consecutive xfers)
- use table (array) structure for class driver, currently included
- refractor extract to function insert_qtd_to_qhd
+ init function
+ install_subtask
--> all class driver function must be declared with WEAK
2013-03-09 13:11:02 +07:00
hathach
b146730306 add test code & hcd_pipe_xfer for bulk transfer
- test cross 4k boundary test for bulk transfer
rename p_qtd_list to p_qtd_list_head
2013-03-07 19:54:00 +07:00
hathach
644f0d3932 make "used" member of ehci_qtd_t into reserved place of buffer[1] (with assert check in hcd init) 2013-03-07 17:59:07 +07:00
hathach
66586ffb08 re-layout ehci_data_t to get better memory consumption 2013-03-07 16:06:28 +07:00
hathach
7557a807a9 basically finish code for control transfer & test code 2013-03-06 16:32:01 +07:00
hathach
f38fed3529 pass test for setup TD 2013-03-06 15:39:37 +07:00
hathach
685fb97086 rename fields in ehci_qtd_t 2013-03-06 15:08:09 +07:00
hathach
ef1cef5019 refractor ehci_data_t
separate tests for pipe open & pipe xfer
2013-03-06 14:25:26 +07:00