Changes in uspace/drv/bus/usb/uhcirh/port.c [56fd7cf:e882e3a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhcirh/port.c
r56fd7cf re882e3a 63 63 return pio_read_16(port->address); 64 64 } 65 65 /*----------------------------------------------------------------------------*/ 66 66 /** Register writing helper function. 67 67 * … … 75 75 pio_write_16(port->address, val); 76 76 } 77 77 /*----------------------------------------------------------------------------*/ 78 78 /** Initialize UHCI root hub port instance. 79 79 * … … 127 127 return EOK; 128 128 } 129 129 /*----------------------------------------------------------------------------*/ 130 130 /** Cleanup UHCI root hub port instance. 131 131 * … … 141 141 return; 142 142 } 143 143 /*----------------------------------------------------------------------------*/ 144 144 /** Periodically checks port status and reports new devices. 145 145 * … … 210 210 return EOK; 211 211 } 212 212 /*----------------------------------------------------------------------------*/ 213 213 /** Callback for enabling port during adding a new device. 214 214 * … … 247 247 return EOK; 248 248 } 249 249 /*----------------------------------------------------------------------------*/ 250 250 /** Initialize and report connected device. 251 251 * … … 279 279 usb_log_info("%s: New device, address %d (handle %" PRIun ").\n", 280 280 port->id_string, port->attached_device.address, 281 ddf_fun_get_handle(port->attached_device.fun));282 return EOK; 283 } 284 281 port->attached_device.fun->handle); 282 return EOK; 283 } 284 /*----------------------------------------------------------------------------*/ 285 285 /** Remove device. 286 286 * … … 324 324 return EOK; 325 325 } 326 326 /*----------------------------------------------------------------------------*/ 327 327 /** Enable or disable root hub port. 328 328 * … … 358 358 return EOK; 359 359 } 360 360 /*----------------------------------------------------------------------------*/ 361 361 /** Print the port status value in a human friendly way 362 362 *
Note:
See TracChangeset
for help on using the changeset viewer.