Changes in uspace/drv/uhci-rhd/root_hub.c [f9c03b5:f123909] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-rhd/root_hub.c
rf9c03b5 rf123909 51 51 assert(instance); 52 52 assert(rh); 53 int ret; 53 54 54 55 /* Allow access to root hub port registers */ 55 56 assert(sizeof(port_status_t) * UHCI_ROOT_HUB_PORT_COUNT <= size); 56 57 port_status_t *regs; 57 intret = pio_enable(addr, size, (void**)®s);58 ret = pio_enable(addr, size, (void**)®s); 58 59 if (ret < 0) { 59 60 usb_log_error( … … 83 84 * 84 85 * @param[in] instance Root hub structure to use. 86 * @return Error code. 85 87 */ 86 voiduhci_root_hub_fini(uhci_root_hub_t* instance)88 int uhci_root_hub_fini(uhci_root_hub_t* instance) 87 89 { 88 90 assert(instance); … … 91 93 uhci_port_fini(&instance->ports[i]); 92 94 } 95 return EOK; 93 96 } 94 97 /*----------------------------------------------------------------------------*/
Note:
See TracChangeset
for help on using the changeset viewer.