Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174955
b: refs/heads/master
c: f176a5d
h: refs/heads/master
i:
  174953: 661fe84
  174951: 4696608
v: v3
  • Loading branch information
Michal Nazarewicz authored and Greg Kroah-Hartman committed Dec 11, 2009
1 parent 5867e31 commit f2eaf6f
Show file tree
Hide file tree
Showing 4 changed files with 400 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c85efcb9657a7c15e24c1d4745826a80f9a53bbe
refs/heads/master: f176a5d81214864904d285912da02c4bc0e9041a
42 changes: 42 additions & 0 deletions trunk/drivers/usb/gadget/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,48 @@ config USB_CDC_COMPOSITE
Say "y" to link the driver statically, or "m" to build a
dynamically linked module.

config USB_G_MULTI
tristate "Multifunction Composite Gadget (EXPERIMENTAL)"
help
The Multifunction Composite Gadget provides Ethernet (RNDIS
and/or CDC Ethernet), mass storage and ACM serial link
interfaces.

You will be asked too choose which of the two configurations are
to be available in the gadget. At least one configuration must
be choosen to make gadget usable. Selecting more then one
configuration will prevent Windows from automatically detecting
the gadget as a composite gadget an INF file will be needed to
use the gadget.

Say "y" to link the driver statically, or "m" to build a
dynamically linked module called "g_multi".

config USB_G_MULTI_RNDIS
bool "RNDIS + CDC Serial + Storage configuration"
depends on USB_G_MULTI
default y
help
This option enables a configuration with RNDIS, CDC Serial and
Mass Storage functions available in the Multifunction Composite
Gadget. This is configuration dedicated for Windows since RNDIS
is Microsfot's protocol.

If unsure, say "y".

config USB_G_MULTI_CDC
bool "CDC Ethernet + CDC Serial + Storage configuration"
depends on USB_G_MULTI
default n
help
This option enables a configuration with CDC Ethernet (ECM), CDC
Serial and Mass Storage functions available in the Multifunction
Composite Gadget. This is configuration dedicated for Windows
since RNDIS is Microsfot's protocol.

If unsure, say "y".


# put drivers that need isochronous transfer support (for audio
# or video class gadget drivers), or specific hardware, here.

Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/usb/gadget/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ g_file_storage-objs := file_storage.o
g_mass_storage-objs := mass_storage.o
g_printer-objs := printer.o
g_cdc-objs := cdc2.o
g_multi-objs := multi.o

obj-$(CONFIG_USB_ZERO) += g_zero.o
obj-$(CONFIG_USB_AUDIO) += g_audio.o
Expand All @@ -53,4 +54,5 @@ obj-$(CONFIG_USB_G_SERIAL) += g_serial.o
obj-$(CONFIG_USB_G_PRINTER) += g_printer.o
obj-$(CONFIG_USB_MIDI_GADGET) += g_midi.o
obj-$(CONFIG_USB_CDC_COMPOSITE) += g_cdc.o
obj-$(CONFIG_USB_G_MULTI) += g_multi.o

Loading

0 comments on commit f2eaf6f

Please sign in to comment.