Changeset 20eaa82 in mainline for uspace/drv/bus/usb/xhci/hc.c
- Timestamp:
- 2017-10-15T13:44:39Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2770b66
- Parents:
- 867b375
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/hc.c
r867b375 r20eaa82 158 158 return err; 159 159 160 hc-> base = base;160 hc->reg_base = base; 161 161 hc->cap_regs = (xhci_cap_regs_t *) base; 162 162 hc->op_regs = (xhci_op_regs_t *) (base + XHCI_REG_RD(hc->cap_regs, XHCI_CAP_LENGTH)); … … 180 180 181 181 if ((err = hc_parse_ec(hc))) { 182 pio_disable(hc-> base, RNGSZ(hc->mmio_range));182 pio_disable(hc->reg_base, RNGSZ(hc->mmio_range)); 183 183 return err; 184 184 } … … 619 619 xhci_fini_commands(hc); 620 620 xhci_rh_fini(&hc->rh); 621 pio_disable(hc-> base, RNGSZ(hc->mmio_range));621 pio_disable(hc->reg_base, RNGSZ(hc->mmio_range)); 622 622 usb_log_info("HC(%p): Finalized.", hc); 623 623 }
Note:
See TracChangeset
for help on using the changeset viewer.