Changeset 062b25f in mainline for uspace/drv/bus/usb/ohci/root_hub.h
- Timestamp:
- 2011-07-11T11:27:57Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 01bbbb2
- Parents:
- c85804f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/root_hub.h
rc85804f r062b25f 41 41 #include "batch.h" 42 42 43 #define HUB_DESCRIPTOR_MAX_SIZE 11 44 #define INTERRUPT_BUFFER_MAX_SIZE 2 45 43 46 /** 44 47 * ohci root hub representation … … 54 57 usb_device_descriptors_t descriptors; 55 58 /** interrupt transfer waiting for an actual interrupt to occur */ 56 usb_transfer_batch_t * 59 usb_transfer_batch_t *unfinished_interrupt_transfer; 57 60 /** Interrupt mask of changes 58 61 * … … 60 63 * gives max 2 bytes. 61 64 */ 62 uint8_t interrupt_buffer[ 2];65 uint8_t interrupt_buffer[INTERRUPT_BUFFER_MAX_SIZE]; 63 66 /** size of interrupt buffer */ 64 67 size_t interrupt_mask_size; 65 68 /** instance`s descriptor*/ 66 uint8_t * hub_descriptor;69 uint8_t hub_descriptor[HUB_DESCRIPTOR_MAX_SIZE]; 67 70 /** size of hub descriptor */ 68 71 size_t descriptor_size; 69 70 72 71 73 } rh_t;
Note:
See TracChangeset
for help on using the changeset viewer.