Changeset 17ceb72 in mainline for uspace/drv/uhci-hcd/uhci.c
- Timestamp:
- 2011-03-14T01:39:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6298d80
- Parents:
- 3bd96bb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/uhci.c
r3bd96bb r17ceb72 60 60 } 61 61 /*----------------------------------------------------------------------------*/ 62 /** Get address of the device identified by handle. 63 * 64 * @param[in] dev DDF instance of the device to use. 65 * @param[in] iid (Unused). 66 * @param[in] call Pointer to the call that represents interrupt. 67 */ 62 68 static int usb_iface_get_address( 63 69 ddf_fun_t *fun, devman_handle_t handle, usb_address_t *address) … … 106 112 }; 107 113 /*----------------------------------------------------------------------------*/ 108 /** Get s root hub hw resources.114 /** Get root hub hw resources (I/O registers). 109 115 * 110 116 * @param[in] fun Root hub function. … … 127 133 }; 128 134 /*----------------------------------------------------------------------------*/ 135 /** Initialize hc and rh ddf structures and their respective drivers. 136 * 137 * @param[in] instance UHCI structure to use. 138 * @param[in] device DDF instance of the device to use. 139 * 140 * This function does all the preparatory work for hc and rh drivers: 141 * - gets device hw resources 142 * - disables UHCI legacy support 143 * - asks for interrupt 144 * - registers interrupt handler 145 */ 129 146 int uhci_init(uhci_t *instance, ddf_dev_t *device) 130 147 {
Note:
See TracChangeset
for help on using the changeset viewer.