Changes in uspace/drv/ohci/root_hub.h [361fcec:66a54cc] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/root_hub.h
r361fcec r66a54cc 50 50 /** usb address of the root hub */ 51 51 usb_address_t address; 52 /** ddf device information */ 53 ddf_dev_t *device; 52 54 /** hub port count */ 53 55 int port_count; 54 56 /** hubs descriptors */ 55 57 usb_device_descriptors_t descriptors; 56 /** interrupt transfer waiting for an actual interrupt to occur */57 usb_transfer_batch_t * unfinished_interrupt_transfer;58 /** pre-allocated interrupt mask59 *60 * This is allocated when initializing instance, so that memory61 * allocation is not needed when processing request. Buffer is used for62 * interrupt bitmask.63 */64 uint8_t * interrupt_buffer;65 /** size of interrupt buffer */66 size_t interrupt_mask_size;67 /** instance`s descriptor*/68 uint8_t * hub_descriptor;69 /** size of hub descriptor */70 size_t descriptor_size;71 72 73 58 } rh_t; 74 59 75 int rh_init(rh_t *instance, ohci_regs_t *regs);60 int rh_init(rh_t *instance, ddf_dev_t *dev, ohci_regs_t *regs); 76 61 77 62 int rh_request(rh_t *instance, usb_transfer_batch_t *request);
Note:
See TracChangeset
for help on using the changeset viewer.