diff options
| author | David Brownell <david-b@pacbell.net> | 2004-03-24 19:30:58 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2004-03-24 19:30:58 -0800 |
| commit | 71640f89bd172442f19ecfac4bce9fc71d79f93a (patch) | |
| tree | 3eaf737fcfc769ca999aceb6d927ac80f035e150 /include | |
| parent | 4992d46a98f495859d20ca97c5e450d947d10a11 (diff) | |
[PATCH] USB: gadget zero does endpoint autoconfig
Here's where all those preceding autoconfig patches start
to fit together: one gadget driver gets rid of almost all
the controller-specific #ifdeffery.
Two of the other gadget drivers can do the same thing,
and just as easily: file storage, and serial. (I'll
hope their maintainers do those changes though.)
The "ether.c" gadget driver is a lot more complicated to
do this way since it has to cope with some differences
by switching to alternate protocols (CDC Ethernet vs
a subset) and soon be able to handle RNDIS. So that'll
be a while yet.
Gadget Zero learns to autoconfigure.
- Gets rid of remaining controller-specific #ifdeffery. Now
hardware choices can be made at run time too (not just
compile time).
- Simplifies its use of the "DEBUG" CPP symbol.
- Force device to report itself consistently as self-powered.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
