Changes in uspace/drv/vhc/hub/virthub.c [70e5ad5:0f21c0c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/vhc/hub/virthub.c
r70e5ad5 r0f21c0c 27 27 */ 28 28 29 /** @addtogroup usb29 /** @addtogroup drvusbvhc 30 30 * @{ 31 31 */ … … 41 41 #include <stdlib.h> 42 42 #include <driver.h> 43 #include <usb/usbdrv.h>44 43 45 44 #include "virthub.h" … … 164 163 dev->device_data = hub; 165 164 166 usbvirt_connect_local(dev); 167 168 return EOK; 165 int rc; 166 #ifdef STANDALONE_HUB 167 dev->name = "hub"; 168 rc = usbvirt_connect(dev); 169 #else 170 rc = usbvirt_connect_local(dev); 171 #endif 172 173 return rc; 169 174 } 170 175 … … 203 208 204 209 hub_acquire(hub); 205 /* TODO: implement. */210 hub_disconnect_device(hub, conn); 206 211 hub_release(hub); 207 212
Note:
See TracChangeset
for help on using the changeset viewer.