Changeset 72cf064 in mainline for uspace/drv/bus/usb/uhci/uhci.c
- Timestamp:
- 2012-08-13T17:17:04Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 33fee91
- Parents:
- f4a8734 (diff), 4820360 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/uhci.c
rf4a8734 r72cf064 65 65 return dev->driver_data; 66 66 } 67 /*----------------------------------------------------------------------------*/ 67 68 68 /** IRQ handling callback, forward status from call to diver structure. 69 69 * … … 83 83 hc_interrupt(&uhci->hc, status); 84 84 } 85 /*----------------------------------------------------------------------------*/ 85 86 86 /** Operations supported by the HC driver */ 87 87 static ddf_dev_ops_t hc_ops = { 88 88 .interfaces[USBHC_DEV_IFACE] = &hcd_iface, /* see iface.h/c */ 89 89 }; 90 /*----------------------------------------------------------------------------*/ 90 91 91 /** Gets handle of the respective hc. 92 92 * … … 105 105 return EOK; 106 106 } 107 /*----------------------------------------------------------------------------*/ 107 108 108 /** USB interface implementation used by RH */ 109 109 static usb_iface_t usb_iface = { 110 110 .get_hc_handle = usb_iface_get_hc_handle, 111 111 }; 112 /*----------------------------------------------------------------------------*/ 112 113 113 /** Get root hub hw resources (I/O registers). 114 114 * … … 123 123 return &rh->resource_list; 124 124 } 125 /*----------------------------------------------------------------------------*/ 125 126 126 /** Interface to provide the root hub driver with hw info */ 127 127 static hw_res_ops_t hw_res_iface = { … … 129 129 .enable_interrupt = NULL, 130 130 }; 131 /*----------------------------------------------------------------------------*/ 131 132 132 /** RH function support for uhci_rhd */ 133 133 static ddf_dev_ops_t rh_ops = { … … 135 135 .interfaces[HW_RES_DEV_IFACE] = &hw_res_iface 136 136 }; 137 /*----------------------------------------------------------------------------*/ 137 138 138 /** Initialize hc and rh DDF structures and their respective drivers. 139 139 *
Note:
See TracChangeset
for help on using the changeset viewer.