Changeset c2245a3 in mainline for uspace/lib/usbhost/include/usb/host/usb_device_manager.h
- Timestamp:
- 2011-11-10T20:03:48Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fa76f81
- Parents:
- 27ca3a3 (diff), 747ef72 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/usb_device_manager.h
r27ca3a3 rc2245a3 59 59 devman_handle_t handle; /**< Devman handle of the device. */ 60 60 } devices[USB_ADDRESS_COUNT]; 61 usb_speed_t max_speed; 61 62 fibril_mutex_t guard; 62 63 /** The last reserved address */ … … 64 65 } usb_device_manager_t; 65 66 66 void usb_device_manager_init(usb_device_manager_t *instance); 67 void usb_device_manager_init( 68 usb_device_manager_t *instance, usb_speed_t max_speed); 67 69 68 usb_address_t usb_device_manager_get_free_address( 69 usb_ device_manager_t *instance, usb_speed_t speed);70 int usb_device_manager_request_address(usb_device_manager_t *instance, 71 usb_address_t *address, bool strict, usb_speed_t speed); 70 72 71 int usb_device_manager_bind (usb_device_manager_t *instance,73 int usb_device_manager_bind_address(usb_device_manager_t *instance, 72 74 usb_address_t address, devman_handle_t handle); 73 75 74 int usb_device_manager_release (usb_device_manager_t *instance,76 int usb_device_manager_release_address(usb_device_manager_t *instance, 75 77 usb_address_t address); 76 78
Note:
See TracChangeset
for help on using the changeset viewer.