Re: [linux-usb-devel] [PATCH] : Allow embedded developers USB options normally reserved for OTG

From: Mike Frysinger
Date: Wed Jan 02 2008 - 13:59:38 EST


On Jan 2, 2008 1:47 PM, David Brownell <david-b@xxxxxxxxxxx> wrote:
> On Wednesday 02 January 2008, Robin Getz wrote:
> > From: Robin Getz <rgetz@xxxxxxxxxxxxxxxxxxxx>
> >
> > Allow embedded developers to turn support for USB Hubs off even if they have a
> > full root hub. This saves the overhead (RAM and Flash size).
>
> ISTR that it won't save very much code though ... the Linux USB
> stack structures all its enumeration logic around hubs.

perhaps the code size is arguable as to whether it really matters.
the reason we want it is that we have a USB host controller that will
not work with USB hubs, so we want to make sure the system does not
attempt such things. (yes, such a USB host controller is retarded,
but the decision was out of our hands.)
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/