Changes in uspace/drv/bus/usb/ohci/ohci.c [d57122c:6561a8e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/ohci.c
rd57122c r6561a8e 75 75 hc_interrupt(&ohci->hc, status); 76 76 } 77 /*----------------------------------------------------------------------------*/ 77 78 78 /** Get USB address assigned to root hub. 79 79 * … … 92 92 return EOK; 93 93 } 94 /*----------------------------------------------------------------------------*/ 94 95 95 /** Gets handle of the respective hc (this device, hc function). 96 96 * … … 110 110 return EOK; 111 111 } 112 /*----------------------------------------------------------------------------*/ 112 113 113 /** Root hub USB interface */ 114 114 static usb_iface_t usb_iface = { … … 116 116 .get_my_address = rh_get_my_address, 117 117 }; 118 /*----------------------------------------------------------------------------*/ 118 119 119 /** Standard USB HC options (HC interface) */ 120 120 static ddf_dev_ops_t hc_ops = { 121 121 .interfaces[USBHC_DEV_IFACE] = &hcd_iface, 122 122 }; 123 /*----------------------------------------------------------------------------*/ 123 124 124 /** Standard USB RH options (RH interface) */ 125 125 static ddf_dev_ops_t rh_ops = { 126 126 .interfaces[USB_DEV_IFACE] = &usb_iface, 127 127 }; 128 /*----------------------------------------------------------------------------*/ 128 129 129 /** Initialize hc and rh ddf structures and their respective drivers. 130 130 *
Note:
See TracChangeset
for help on using the changeset viewer.