Changes in uspace/lib/usbdev/include/usb/dev/hub.h [67f55e7b:6e3c005] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/include/usb/dev/hub.h
r67f55e7b r6e3c005 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.