diff options
| author | hathach <[email protected]> | 2013-03-22 21:21:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-03-22 21:21:00 +0700 |
| commit | 397d62db10f11c2ee49950f51d28b2e2156ac5c8 (patch) | |
| tree | 31cc2bb736169f5f0efc0311446fbbcadd92552c /tests/test/support | |
| parent | f6acca666421cddb4e25842ad1215e951f898ecb (diff) | |
fix bug: adjust all bulk queue head from ehci_data.device
Diffstat (limited to 'tests/test/support')
| -rw-r--r-- | tests/test/support/ehci_controller.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/test/support/ehci_controller.h b/tests/test/support/ehci_controller.h index 7191b1294..ee3acfa56 100644 --- a/tests/test/support/ehci_controller.h +++ b/tests/test/support/ehci_controller.h @@ -61,10 +61,12 @@ void ehci_controller_run(uint8_t hostid); void ehci_controller_device_plug(uint8_t hostid, tusb_speed_t speed); void ehci_controller_device_unplug(uint8_t hostid); -ehci_registers_t* const get_operational_register(uint8_t hostid); -ehci_link_t* const get_period_frame_list(uint8_t list_idx); -ehci_qhd_t* const get_async_head(uint8_t hostid); -ehci_qhd_t* const get_period_head(uint8_t hostid); +ehci_registers_t* get_operational_register(uint8_t hostid); +ehci_link_t* get_period_frame_list(uint8_t list_idx); +ehci_qhd_t* get_async_head(uint8_t hostid); +ehci_qhd_t* get_period_head(uint8_t hostid); +ehci_qhd_t* get_control_qhd(uint8_t dev_addr); +ehci_qtd_t* get_control_qtds(uint8_t dev_addr); #ifdef __cplusplus } |
