Changeset 81c0854f in mainline for uspace/drv/vhc/hub/virthub.c
- Timestamp:
- 2011-01-28T12:41:33Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ba5ab09
- Parents:
- c2020f7 (diff), ea6a824 (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/vhc/hub/virthub.c
rc2020f7 r81c0854f 27 27 */ 28 28 29 /** @addtogroup usb29 /** @addtogroup drvusbvhc 30 30 * @{ 31 31 */ … … 164 164 dev->device_data = hub; 165 165 166 usbvirt_connect_local(dev); 167 168 return EOK; 166 int rc; 167 #ifdef STANDALONE_HUB 168 dev->name = "hub"; 169 rc = usbvirt_connect(dev); 170 #else 171 rc = usbvirt_connect_local(dev); 172 #endif 173 174 return rc; 169 175 } 170 176 … … 203 209 204 210 hub_acquire(hub); 205 /* TODO: implement. */211 hub_disconnect_device(hub, conn); 206 212 hub_release(hub); 207 213
Note:
See TracChangeset
for help on using the changeset viewer.