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