Changeset 41abf3c in mainline for uspace/drv/bus/usb/xhci/debug.c
- Timestamp:
- 2018-01-18T19:08:51Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7138a78b
- Parents:
- 8fe29a7c
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-18 19:06:36)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-18 19:08:51)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/debug.c
r8fe29a7c r41abf3c 264 264 void xhci_dump_trb(const xhci_trb_t *trb) 265 265 { 266 usb_log_debug2("TRB(%p): type %s, cycle %u ", trb, xhci_trb_str_type(TRB_TYPE(*trb)), TRB_CYCLE(*trb));266 usb_log_debug2("TRB(%p): type %s, cycle %u, status 0x%#08" PRIx32 ", parameter 0x%#016" PRIx64, trb, xhci_trb_str_type(TRB_TYPE(*trb)), TRB_CYCLE(*trb), trb->status, trb->parameter); 267 267 } 268 268 … … 341 341 } 342 342 343 staticvoid xhci_dump_slot_ctx(const struct xhci_slot_ctx *ctx)343 void xhci_dump_slot_ctx(const struct xhci_slot_ctx *ctx) 344 344 { 345 345 #define SLOT_DUMP(name) usb_log_debug("\t" #name ":\t0x%x", XHCI_SLOT_##name(*ctx)) … … 356 356 SLOT_DUMP(INTERRUPTER); 357 357 SLOT_DUMP(DEVICE_ADDRESS); 358 SLOT_DUMP(S LOT_STATE);358 SLOT_DUMP(STATE); 359 359 #undef SLOT_DUMP 360 360 } 361 361 362 staticvoid xhci_dump_endpoint_ctx(const struct xhci_endpoint_ctx *ctx)362 void xhci_dump_endpoint_ctx(const struct xhci_endpoint_ctx *ctx) 363 363 { 364 364 #define EP_DUMP_DW(name) usb_log_debug("\t" #name ":\t0x%x", XHCI_EP_##name(*ctx))
Note:
See TracChangeset
for help on using the changeset viewer.