Changes in uspace/drv/usbhub/usbhub.c [357a302:563fb40] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/usbhub.c
r357a302 r563fb40 39 39 40 40 #include <usb_iface.h> 41 #include <usb/ddfiface.h>42 41 #include <usb/usbdrv.h> 43 42 #include <usb/descriptor.h> … … 51 50 #include "usb/usb.h" 52 51 52 static int iface_get_hc_handle(device_t *device, devman_handle_t *handle) 53 { 54 return usb_hc_find(device->handle, handle); 55 } 56 57 static usb_iface_t hub_usb_iface = { 58 .get_hc_handle = iface_get_hc_handle 59 }; 60 53 61 static device_ops_t hub_device_ops = { 54 .interfaces[USB_DEV_IFACE] = & usb_iface_hub_impl62 .interfaces[USB_DEV_IFACE] = &hub_usb_iface 55 63 }; 56 64
Note:
See TracChangeset
for help on using the changeset viewer.