Changes in uspace/lib/usbdev/include/usb/dev/hub.h [6e3c005:67f55e7b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/include/usb/dev/hub.h
r6e3c005 r67f55e7b 40 40 #include <ddf/driver.h> 41 41 #include <sys/types.h> 42 #include <errno.h>43 42 #include <usb/hc.h> 44 43 … … 60 59 } usb_hub_attached_device_t; 61 60 62 int usb_hub_register_device(usb_hc_connection_t *, 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 *, 63 64 const usb_hub_attached_device_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 } 65 int usb_hc_unregister_device(usb_hc_connection_t *, usb_address_t); 73 66 74 67 #endif
Note:
See TracChangeset
for help on using the changeset viewer.