SAMA5 OHCI: Improve some trace-related naming
This commit is contained in:
parent
4055b08ded
commit
48f368f96f
@ -2466,8 +2466,7 @@ static int sam_ep0configure(struct usbhost_driver_s *drvr, usbhost_ep_t ep0,
|
||||
(uintptr_t)edctrl + sizeof(struct ohci_ed_s));
|
||||
sam_givesem(&g_ohci.exclsem);
|
||||
|
||||
usbhost_vtrace2(OHCI_VTRACE2_EP0CONFIGURE,
|
||||
RHPORT(rhport), (uint16_t)edctrl->hw.ctrl);
|
||||
usbhost_vtrace2(OHCI_VTRACE2_EP0CTRLED, RHPORT(rhport), (uint16_t)edctrl->hw.ctrl);
|
||||
UNUSED(rhport);
|
||||
return OK;
|
||||
}
|
||||
|
@ -172,7 +172,7 @@ static const struct sam_usbhost_trace_s g_trace2[TRACE2_NSTRINGS] =
|
||||
TRENTRY(OHCI_VTRACE2_CONNECTED, TR_OHCI, TR_FMT2, "OHCI RHPort%d connected, rhswait: %d\n"),
|
||||
TRENTRY(OHCI_VTRACE2_DISCONNECTED, TR_OHCI, TR_FMT2, "OHCI RHPort%d disconnected, rhswait: %d\n"),
|
||||
TRENTRY(OHCI_VTRACE2_WAKEUP, TR_OHCI, TR_FMT2, "OHCI RHPort%d connected: %d\n"),
|
||||
TRENTRY(OHCI_VTRACE2_EP0CONFIGURE, TR_OHCI, TR_FMT2, "OHCI RHPort%d EP0 CTRL: %04x\n"),
|
||||
TRENTRY(OHCI_VTRACE2_EP0CTRLED, TR_OHCI, TR_FMT2, "OHCI RHPort%d EP0 CTRL: %04x\n"),
|
||||
TRENTRY(OHCI_VTRACE2_EPALLOC, TR_OHCI, TR_FMT2, "OHCI EP%d CTRL: %04x\n"),
|
||||
TRENTRY(OHCI_VTRACE2_CTRLIN, TR_OHCI, TR_FMT2, "OHCI CTRLIN RHPort%d req: %02x\n"),
|
||||
TRENTRY(OHCI_VTRACE2_CTRLOUT, TR_OHCI, TR_FMT2, "OHCI CTRLOUT RHPort%d req: %02x\n"),
|
||||
|
@ -157,7 +157,7 @@ enum usbhost_trace1codes_e
|
||||
OHCI_VTRACE2_CONNECTED, /* OHCI RHPort connected */
|
||||
OHCI_VTRACE2_DISCONNECTED, /* OHCI RHPort disconnected */
|
||||
OHCI_VTRACE2_WAKEUP, /* OHCI RHPort connected */
|
||||
OHCI_VTRACE2_EP0CONFIGURE, /* OHCI RHPort EP0 CTRL */
|
||||
OHCI_VTRACE2_EP0CTRLED, /* OHCI RHPort EP0 CTRL */
|
||||
OHCI_VTRACE2_EPALLOC, /* OHCI EP CTRL */
|
||||
OHCI_VTRACE2_CTRLIN, /* OHCI CTRLIN */
|
||||
OHCI_VTRACE2_CTRLOUT, /* OHCI CTRLOUT */
|
||||
|
Loading…
Reference in New Issue
Block a user