Re: [PATCH v9 03/14] usb: hcd.h: Add OTG to HCD interface

From: Alan Stern
Date: Thu Jun 09 2016 - 10:11:22 EST


On Thu, 9 Jun 2016, Sergei Shtylyov wrote:

> Hello.
>
> On 6/9/2016 10:31 AM, Roger Quadros wrote:
>
> >>>>> The OTG core will use struct otg_hcd_ops to interface
> >>>>> with the HCD controller.
> >>>>
> >>>> Host controller driver (HCD) controller? Maybe just HC? :-)
> >>>
> >>> OK.
> >>
> >> OTOH, my googling has shown that HCD may stand for both HC driver and HC device... The host controller device sounds a bit tautological however...
> >
> > Yeah I always meant it to be Host Controller Device :).
>
> The question here is more what was meant by the previous Linux USB
> authors. :-)

I have always used "HCD" to mean Host Controller Driver, and I believe
that's what other people have done too.

If I want to refer to a Host Controller Device, I would write either
"HC" or "host controller".

Admittedly, this means that struct usb_hcd has a slightly illogical
name.

Alan Stern