-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mike Lockwood
authored and
Greg Kroah-Hartman
committed
May 16, 2012
1 parent
695b5bf
commit cae7640
Showing
8 changed files
with
1,157 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 3a2300385f601fbd8aed67555a1a3fef5b3d4d10 | ||
refs/heads/master: 332bb43f7c4baea2a0dce7ae2c078c55e14d37b5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
if USB_GADGET | ||
|
||
config USB_G_CCG | ||
tristate "Configurable Composite Gadget (STAGING)" | ||
depends on STAGING && !USB_ZERO && !USB_ZERO_HNPTEST && !USB_AUDIO && !GADGET_UAC1 && !USB_ETH && !USB_ETH_RNDIS && !USB_ETH_EEM && !USB_G_NCM && !USB_GADGETFS && !USB_FUNCTIONFS && !USB_FUNCTIONFS_ETH && !USB_FUNCTIONFS_RNDIS && !USB_FUNCTIONFS_GENERIC && !USB_FILE_STORAGE && !USB_FILE_STORAGE_TEST && !USB_MASS_STORAGE && !USB_G_SERIAL && !USB_MIDI_GADGET && !USB_G_PRINTER && !USB_CDC_COMPOSITE && !USB_G_NOKIA && !USB_G_ACM_MS && !USB_G_MULTI && !USB_G_MULTI_RNDIS && !USB_G_MULTI_CDC && !USB_G_HID && !USB_G_DBGP && !USB_G_WEBCAM | ||
help | ||
The Configurable Composite Gadget supports multiple USB | ||
functions: acm, mass storage, rndis and FunctionFS. | ||
Each function can be configured and enabled/disabled | ||
dynamically from userspace through a sysfs interface. | ||
|
||
In order to compile this (either as a module or built-in), | ||
"USB Gadget Drivers" and anything under it must not be | ||
selected compiled-in in | ||
Device Drivers->USB Support->USB Gadget Support. | ||
However, you can say "M" there, if you do, the | ||
Configurable Composite Gadget can be compiled "M" only | ||
or not at all. | ||
|
||
endif # USB_GADGET |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
g_ccg-y := ccg.o | ||
ccflags-y += -Idrivers/usb/gadget | ||
|
||
obj-$(CONFIG_USB_G_CCG) += g_ccg.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
TODO: | ||
- change configuration interface from sysfs to configfs | ||
|
||
Please send patches to Greg Kroah-Hartmann <gregkh@linuxfoundation.org>, | ||
Andrzej Pietrasiewicz <andrzej.p@samsung.com>, and | ||
Cc: Mike Lockwood <lockwood@android.com> |
Oops, something went wrong.