add class code to hcd_pipe_open to facilitate usb_complete callback

This commit is contained in:
hathach
2013-03-09 21:37:49 +07:00
parent 96c92afb32
commit 8457585464
7 changed files with 21 additions and 24 deletions

View File

@@ -195,14 +195,13 @@ typedef struct {
//--------------------------------------------------------------------+
uint8_t used;
uint8_t pid_non_control;
uint8_t class_code;
uint8_t list_index;
uint8_t reserved;
ehci_qtd_t *p_qtd_list_head; // head of the scheduled TD list
ehci_qtd_t *p_qtd_list_tail; // tail of the scheduled TD list
uint32_t reserved_2;
}ATTR_ALIGNED(32) ehci_qhd_t;
/// Highspeed Isochronous Transfer Descriptor (section 3.3)