Changes in uspace/drv/bus/usb/usbhub/main.c [54d1ad9:b803845] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/main.c
r54d1ad9 rb803845 47 47 * For more information see section 11.15.1 of USB 1.1 specification. 48 48 */ 49 static const usb_endpoint_description_t hub_status_change_endpoint_description = 50 { 49 static usb_endpoint_description_t hub_status_change_endpoint_description = { 51 50 .transfer_type = USB_TRANSFER_INTERRUPT, 52 51 .direction = USB_DIRECTION_IN, … … 57 56 }; 58 57 59 /** USB hub driver operations. */ 60 static const usb_driver_ops_t usb_hub_driver_ops = { 58 /** 59 * USB hub driver operations 60 * 61 * The most important one is device_add, which is set to usb_hub_device_add. 62 */ 63 static usb_driver_ops_t usb_hub_driver_ops = { 61 64 .device_add = usb_hub_device_add, 62 // .device_rem = usb_hub_device_remove,63 65 .device_gone = usb_hub_device_gone, 64 66 }; … … 70 72 }; 71 73 /** Static usb hub driver information. */ 72 static constusb_driver_t usb_hub_driver = {74 static usb_driver_t usb_hub_driver = { 73 75 .name = NAME, 74 76 .ops = &usb_hub_driver_ops, 75 77 .endpoints = usb_hub_endpoints 76 78 }; 79 77 80 78 81 int main(int argc, char *argv[])
Note:
See TracChangeset
for help on using the changeset viewer.