Changeset 5ef3afd in mainline for uspace/drv/bus/usb/xhci/debug.c
- Timestamp:
- 2018-02-24T19:51:28Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 39f1c86
- Parents:
- 95f1b8f
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-02-24 18:43:36)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-02-24 19:51:28)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/debug.c
r95f1b8f r5ef3afd 322 322 323 323 switch (id) { 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 324 case XHCI_EC_SUPPORTED_PROTOCOL: 325 name.packed = host2uint32_t_le(XHCI_REG_RD(ec, XHCI_EC_SP_NAME)); 326 ports_from = XHCI_REG_RD(ec, XHCI_EC_SP_CP_OFF); 327 ports_to = ports_from + XHCI_REG_RD(ec, XHCI_EC_SP_CP_COUNT) - 1; 328 unsigned psic = XHCI_REG_RD(ec, XHCI_EC_SP_PSIC); 329 330 usb_log_debug("\tProtocol %.4s%u.%u, ports %u-%u, " 331 "%u protocol speeds", name.str, 332 XHCI_REG_RD(ec, XHCI_EC_SP_MAJOR), 333 XHCI_REG_RD(ec, XHCI_EC_SP_MINOR), 334 ports_from, ports_to, psic); 335 336 for (unsigned i = 0; i < psic; i++) 337 xhci_dump_psi(xhci_extcap_psi(ec, i)); 338 break; 339 339 } 340 340 }
Note:
See TracChangeset
for help on using the changeset viewer.