Changeset 56257ba in mainline for uspace/lib/usbhost/include/usb/host/usb2_bus.h
- Timestamp:
- 2018-01-07T01:01:42Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 63431db
- Parents:
- 9efad54
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-07 01:01:41)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-07 01:01:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/usb2_bus.h
r9efad54 r56257ba 50 50 bus_t base; /**< Inheritance - keep this first */ 51 51 52 /* Device bookkeeping*/53 struct {54 usb_speed_t speed; /**< Device speed */ 55 bool occupied; /**< The address is in use.*/56 // TODO: This can be stored in usb2_bus-specific device_t57 list_t endpoint_list; /**< Store endpoint_t instances */58 } devices[USB_ADDRESS_COUNT];52 /** The speed which reserved default address. Invalid unless reserved. */ 53 usb_speed_t default_address_speed; 54 55 /** Map of occupied addresses */ 56 bool address_occupied [USB_ADDRESS_COUNT]; 57 /** The last reserved address */ 58 usb_address_t last_address; 59 59 60 60 /** Size of the bandwidth pool */ 61 61 size_t free_bw; 62 /** The last reserved address */63 usb_address_t last_address;64 62 } usb2_bus_t; 65 63
Note:
See TracChangeset
for help on using the changeset viewer.