Changes in uspace/drv/bus/usb/uhcirh/port.c [e882e3a:76fbd9a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhcirh/port.c
re882e3a r76fbd9a 37 37 #include <str_error.h> 38 38 #include <async.h> 39 #include <devman.h> 39 40 40 41 #include <usb/usb.h> /* usb_address_t */ … … 63 64 return pio_read_16(port->address); 64 65 } 65 /*----------------------------------------------------------------------------*/ 66 66 67 /** Register writing helper function. 67 68 * … … 75 76 pio_write_16(port->address, val); 76 77 } 77 /*----------------------------------------------------------------------------*/ 78 78 79 /** Initialize UHCI root hub port instance. 79 80 * … … 127 128 return EOK; 128 129 } 129 /*----------------------------------------------------------------------------*/ 130 130 131 /** Cleanup UHCI root hub port instance. 131 132 * … … 141 142 return; 142 143 } 143 /*----------------------------------------------------------------------------*/ 144 144 145 /** Periodically checks port status and reports new devices. 145 146 * … … 210 211 return EOK; 211 212 } 212 /*----------------------------------------------------------------------------*/ 213 213 214 /** Callback for enabling port during adding a new device. 214 215 * … … 247 248 return EOK; 248 249 } 249 /*----------------------------------------------------------------------------*/ 250 250 251 /** Initialize and report connected device. 251 252 * … … 282 283 return EOK; 283 284 } 284 /*----------------------------------------------------------------------------*/ 285 285 286 /** Remove device. 286 287 * … … 324 325 return EOK; 325 326 } 326 /*----------------------------------------------------------------------------*/ 327 327 328 /** Enable or disable root hub port. 328 329 * … … 358 359 return EOK; 359 360 } 360 /*----------------------------------------------------------------------------*/ 361 361 362 /** Print the port status value in a human friendly way 362 363 *
Note:
See TracChangeset
for help on using the changeset viewer.