Changeset b7068da in mainline for uspace/lib/usbdev/include/usb/dev/hub.h
- Timestamp:
- 2012-02-09T20:35:12Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 591762c6
- Parents:
- 7cede12c (diff), 3d4750f (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/usbdev/include/usb/dev/hub.h
r7cede12c rb7068da 40 40 #include <ddf/driver.h> 41 41 #include <sys/types.h> 42 #include <errno.h> 42 43 #include <usb/hc.h> 43 44 … … 59 60 } usb_hub_attached_device_t; 60 61 61 usb_address_t usb_hc_request_address(usb_hc_connection_t *, usb_address_t, 62 bool, usb_speed_t); 63 int usb_hc_register_device(usb_hc_connection_t *, 62 int usb_hub_register_device(usb_hc_connection_t *, 64 63 const usb_hub_attached_device_t *); 65 int usb_hc_unregister_device(usb_hc_connection_t *, usb_address_t); 64 65 static inline int usb_hub_unregister_device(usb_hc_connection_t *conn, 66 const usb_hub_attached_device_t *attached_device) 67 { 68 assert(conn); 69 if (attached_device == NULL) 70 return EBADMEM; 71 return usb_hc_release_address(conn, attached_device->address); 72 } 66 73 67 74 #endif
Note:
See TracChangeset
for help on using the changeset viewer.