Changeset 76fbd9a in mainline for uspace/drv/bus/usb/usbhub/port.c
- Timestamp:
- 2012-02-24T19:07:44Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a76b01b4
- Parents:
- 5837c7a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/port.c
r5837c7a r76fbd9a 71 71 return EOK; 72 72 } 73 /*----------------------------------------------------------------------------*/ 73 74 74 /** 75 75 * Clear feature on hub port. … … 93 93 sizeof(clear_request), NULL, 0); 94 94 } 95 /*----------------------------------------------------------------------------*/ 95 96 96 /** 97 97 * Set feature on hub port. … … 115 115 sizeof(clear_request), NULL, 0); 116 116 } 117 /*----------------------------------------------------------------------------*/ 117 118 118 /** 119 119 * Mark reset process as failed due to external reasons … … 130 130 fibril_mutex_unlock(&port->mutex); 131 131 } 132 /*----------------------------------------------------------------------------*/ 132 133 133 /** 134 134 * Process interrupts on given port … … 246 246 port->port_number, status); 247 247 } 248 /*----------------------------------------------------------------------------*/ 248 249 249 /** 250 250 * routine called when a device on port has been removed … … 300 300 return EOK; 301 301 } 302 /*----------------------------------------------------------------------------*/ 302 303 303 /** 304 304 * Process port reset change … … 336 336 } 337 337 } 338 /*----------------------------------------------------------------------------*/ 338 339 339 /** Retrieve port status. 340 340 * … … 376 376 return EOK; 377 377 } 378 /*----------------------------------------------------------------------------*/ 378 379 379 /** Callback for enabling a specific port. 380 380 * … … 408 408 return port->reset_okay ? EOK : ESTALL; 409 409 } 410 /*----------------------------------------------------------------------------*/ 410 411 411 /** Fibril for adding a new device. 412 412 * … … 455 455 return rc; 456 456 } 457 /*----------------------------------------------------------------------------*/ 457 458 458 /** Start device adding when connection change is detected. 459 459 *
Note:
See TracChangeset
for help on using the changeset viewer.