Changeset 62066b4 in mainline for uspace/lib/usb/include
- Timestamp:
- 2011-02-20T21:47:23Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ace12560
- Parents:
- 6bb83c7 (diff), 423e8c81 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/lib/usb/include/usb
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/hub.h
r6bb83c7 r62066b4 39 39 #include <usb/usbdevice.h> 40 40 41 int usb_hc_new_device_wrapper(device_t *, usb_hc_connection_t *, usb_speed_t, 42 int (*)(int, void *), int, void *, usb_address_t *, devman_handle_t *); 41 43 42 44 /** Info about device attached to host controller. … … 53 55 } usb_hc_attached_device_t; 54 56 55 int usb_hc_reserve_default_address(usb_hc_connection_t *, bool);57 int usb_hc_reserve_default_address(usb_hc_connection_t *, usb_speed_t); 56 58 int usb_hc_release_default_address(usb_hc_connection_t *); 57 59 58 usb_address_t usb_hc_request_address(usb_hc_connection_t *, bool);60 usb_address_t usb_hc_request_address(usb_hc_connection_t *, usb_speed_t); 59 61 int usb_hc_register_device(usb_hc_connection_t *, 60 62 const usb_hc_attached_device_t *); -
uspace/lib/usb/include/usb/usb.h
r6bb83c7 r62066b4 68 68 USB_DIRECTION_BOTH 69 69 } usb_direction_t; 70 71 /** USB speeds. */ 72 typedef enum { 73 /** USB 1.1 low speed (1.5Mbits/s). */ 74 USB_SPEED_LOW, 75 /** USB 1.1 full speed (12Mbits/s). */ 76 USB_SPEED_FULL, 77 /** USB 2.0 high speed (480Mbits/s). */ 78 USB_SPEED_HIGH 79 } usb_speed_t; 70 80 71 81 /** USB request type target. */
Note:
See TracChangeset
for help on using the changeset viewer.
