Changes in uspace/drv/bus/usb/uhcirh/port.c [c53007f:ffa96c2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhcirh/port.c
rc53007f rffa96c2 269 269 int ret, count = MAX_ERROR_COUNT; 270 270 do { 271 ret = usb_hc_new_device_wrapper(port->rh, &port->hc_connection, 271 port->attached_device.fun = ddf_fun_create(port->rh, fun_inner, 272 NULL); 273 if (port->attached_device.fun == NULL) { 274 ret = ENOMEM; 275 continue; 276 } 277 278 ret = usb_hc_new_device_wrapper(port->rh, 279 port->attached_device.fun, 280 &port->hc_connection, 272 281 speed, uhci_port_reset_enable, port, 273 &port->attached_device.address, NULL, NULL, 274 &port->attached_device.fun); 282 &port->attached_device.address, NULL); 283 284 if (ret != EOK) { 285 ddf_fun_destroy(port->attached_device.fun); 286 port->attached_device.fun = NULL; 287 } 288 275 289 } while (ret != EOK && count-- > 0); 276 290
Note:
See TracChangeset
for help on using the changeset viewer.