diff options
| author | David Brownell <david-b@pacbell.net> | 2003-09-04 01:27:04 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2003-09-04 01:27:04 -0700 |
| commit | 80150dc51260bec0a96fb6e7b8152abba9fc3950 (patch) | |
| tree | 22934be56f541d8bc222c8a8533a61314c5a3d5b /kernel/sysctl.c | |
| parent | 08b0d94cc151f602678db09c6c93ce7cf532af9a (diff) | |
[PATCH] USB: usb "gadgetfs" (1/2)
This is another "gadget" driver -- one that lets user mode
code implement usb device functions, with all the classic
advantages of such solutions. There's an example driver
at the linux-usb "gadget" web page, which uses pthreads
and handles several control requests in user mode.
This capability is packaged in the form of a filesystem,
conventionally mounted at /dev/gadget, with files that the
user mode driver opens, configures, and then uses with
normal read() and write() system calls. Because this
doesn't require use of ioctl(), such user mode drivers
can be written in almost any language: not just C, but
also Java, Python, Perl, and others -- likely even BASH.
For now, such user mode gadget drivers are limited to a
single configuration, although the interfaces in that
configuration could support multiple altsettings when
the hardware allows.
Please merge. This first patch provides the driver,
the next one adds kconfig and kbuild support.
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions
