[PATCH] usb: xhci-dbg: Display endpoint number and direction in context dump

2013-04-15 Thread Julius Werner
When CONFIG_XHCI_HCD_DEBUGGING is activated, the XHCI driver can dump device and input contexts to the console. The endpoint contexts in that dump are labeled "Endpoint N Context", where N is the XHCI endpoint index (DCI - 1). This can be very confusing, especially for people who are not that famil

Re: [PATCH] usb: xhci-dbg: Display endpoint number and direction in context dump

2013-04-15 Thread Sarah Sharp
On Mon, Apr 08, 2013 at 05:18:25PM -0700, Julius Werner wrote: > diff --git a/drivers/usb/host/xhci-dbg.c b/drivers/usb/host/xhci-dbg.c > index 5f3a7c7..16a8272 100644 > --- a/drivers/usb/host/xhci-dbg.c > +++ b/drivers/usb/host/xhci-dbg.c > @@ -503,11 +503,14 @@ static void xhci_dbg_ep_ctx(struct

[PATCH] usb: xhci-dbg: Display endpoint number and direction in context dump

2013-04-08 Thread Julius Werner
When CONFIG_XHCI_HCD_DEBUGGING is activated, the XHCI driver can dump device and input contexts to the console. The endpoint contexts in that dump are labeled "Endpoint N Context", where N is the XHCI endpoint index (DCI - 1). This can be very confusing, especially for people who are not that famil

Re: [PATCH] usb: xhci-dbg: Display endpoint number and direction in context dump

2013-04-08 Thread Sarah Sharp
On Thu, Apr 04, 2013 at 02:03:04PM -0700, Julius Werner wrote: > When CONFIG_XHCI_HCD_DEBUGGING is activated, the XHCI driver can dump > device and input contexts to the console. The endpoint contexts in that > dump are labeled "Endpoint N Context", where N is DCI - 1... this is > very confusing, e

[PATCH] usb: xhci-dbg: Display endpoint number and direction in context dump

2013-04-04 Thread Julius Werner
When CONFIG_XHCI_HCD_DEBUGGING is activated, the XHCI driver can dump device and input contexts to the console. The endpoint contexts in that dump are labeled "Endpoint N Context", where N is DCI - 1... this is very confusing, especially for people who are not that familiar with the XHCI specificat