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