- 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
This commit is contained in:
hathach
2013-03-09 13:11:02 +07:00
parent b146730306
commit b1db85dedf
12 changed files with 141 additions and 62 deletions

View File

@@ -58,6 +58,12 @@
#ifdef HOST_CLASS_HID
#include "class/hid_host.h"
#endif
#define HOST_CLASS_MSC
#ifdef HOST_CLASS_MSC
#include "class/msc_host.h"
#endif
#endif
#if MODE_DEVICE_SUPPORTED