Changes in uspace/drv/bus/usb/usbhub/usbhub.c [fb2ef35:3e6a98c5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/usbhub.c
rfb2ef35 r3e6a98c5 35 35 36 36 #include <ddf/driver.h> 37 #include < bool.h>37 #include <stdbool.h> 38 38 #include <errno.h> 39 39 #include <str_error.h> … … 160 160 hub_dev->running = true; 161 161 usb_log_info("Controlling hub '%s' (%zu ports).\n", 162 hub_dev->usb_device->ddf_dev->name, hub_dev->port_count);162 ddf_dev_get_name(hub_dev->usb_device->ddf_dev), hub_dev->port_count); 163 163 164 164 usb_pipe_end_long_transfer(&usb_dev->ctrl_pipe); 165 165 return EOK; 166 166 } 167 /*----------------------------------------------------------------------------*/ 167 168 168 /** 169 169 * Turn off power to all ports. … … 176 176 return ENOTSUP; 177 177 } 178 /*----------------------------------------------------------------------------*/ 178 179 179 /** 180 180 * Remove all attached devices … … 219 219 return EOK; 220 220 } 221 /*----------------------------------------------------------------------------*/ 221 222 222 /** Callback for polling hub for changes. 223 223 * … … 256 256 return true; 257 257 } 258 /*----------------------------------------------------------------------------*/ 258 259 259 /** 260 260 * Load hub-specific information into hub_dev structure and process if needed … … 331 331 return EOK; 332 332 } 333 /*----------------------------------------------------------------------------*/ 333 334 334 /** 335 335 * Set configuration of and USB device … … 378 378 return opResult; 379 379 } 380 /*----------------------------------------------------------------------------*/ 380 381 381 /** 382 382 * Process hub over current change … … 416 416 417 417 } 418 /*----------------------------------------------------------------------------*/ 418 419 419 /** 420 420 * Process hub interrupts. … … 485 485 } 486 486 } 487 /*----------------------------------------------------------------------------*/ 487 488 488 /** 489 489 * callback called from hub polling fibril when the fibril terminates
Note:
See TracChangeset
for help on using the changeset viewer.