Changeset 58563585 in mainline for uspace/lib/drv/generic
- Timestamp:
- 2016-08-31T11:15:39Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 10cb47e
- Parents:
- 7a67416
- Location:
- uspace/lib/drv/generic
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
r7a67416 r58563585 126 126 return; 127 127 } 128 128 129 129 ddf_dev_t *dev = create_device(); 130 130 if (!dev) { … … 133 133 return; 134 134 } 135 135 136 136 /* Add one reference that will be dropped by driver_dev_remove() */ 137 137 dev_add_ref(dev); -
uspace/lib/drv/generic/remote_ahci.c
r7a67416 r58563585 226 226 return; 227 227 } 228 228 229 229 const int ret = ahci_iface->get_sata_device_name(fun, 230 230 sata_dev_name_length, sata_dev_name); … … 235 235 (real_size == sata_dev_name_length)) 236 236 async_data_read_finalize(cid, sata_dev_name, sata_dev_name_length); 237 237 238 238 free(sata_dev_name); 239 239 async_answer_0(callid, ret); -
uspace/lib/drv/generic/remote_usb.c
r7a67416 r58563585 91 91 92 92 /** Tell devman handle of the usb device function. 93 * @param[in] exch IPC communication exchange 93 * 94 * @param[in] exch IPC communication exchange 94 95 * @param[out] handle devman handle of the HC used by the target device. 96 * 95 97 * @return Error code. 98 * 96 99 */ 97 100 int usb_get_my_device_handle(async_exch_t *exch, devman_handle_t *handle) … … 119 122 120 123 /** Release default USB address. 124 * 121 125 * @param[in] exch IPC communication exchange 126 * 122 127 * @return Error code. 128 * 123 129 */ 124 130 int usb_release_default_address(async_exch_t *exch) … … 131 137 132 138 /** Trigger USB device enumeration 133 * @param[in] exch IPC communication exchange 139 * 140 * @param[in] exch IPC communication exchange 134 141 * @param[out] handle Identifier of the newly added device (if successful) 142 * 135 143 * @return Error code. 144 * 136 145 */ 137 146 int usb_device_enumerate(async_exch_t *exch, unsigned port) … … 145 154 146 155 /** Trigger USB device enumeration 147 * @param[in] exch IPC communication exchange 156 * 157 * @param[in] exch IPC communication exchange 148 158 * @param[in] handle Identifier of the device 159 * 149 160 * @return Error code. 161 * 150 162 */ 151 163 int usb_device_remove(async_exch_t *exch, unsigned port)
Note:
See TracChangeset
for help on using the changeset viewer.