Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303965
b: refs/heads/master
c: 332bb43
h: refs/heads/master
i:
  303963: 9bf297f
v: v3
  • Loading branch information
Mike Lockwood authored and Greg Kroah-Hartman committed May 16, 2012
1 parent 695b5bf commit cae7640
Show file tree
Hide file tree
Showing 8 changed files with 1,157 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: 3a2300385f601fbd8aed67555a1a3fef5b3d4d10
refs/heads/master: 332bb43f7c4baea2a0dce7ae2c078c55e14d37b5
2 changes: 2 additions & 0 deletions trunk/drivers/staging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,6 @@ source "drivers/staging/ramster/Kconfig"

source "drivers/staging/ozwpan/Kconfig"

source "drivers/staging/ccg/Kconfig"

endif # STAGING
1 change: 1 addition & 0 deletions trunk/drivers/staging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ obj-$(CONFIG_ANDROID) += android/
obj-$(CONFIG_PHONE) += telephony/
obj-$(CONFIG_RAMSTER) += ramster/
obj-$(CONFIG_USB_WPAN_HCD) += ozwpan/
obj-$(CONFIG_USB_G_CCG) += ccg/
20 changes: 20 additions & 0 deletions trunk/drivers/staging/ccg/Kconfig
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
4 changes: 4 additions & 0 deletions trunk/drivers/staging/ccg/Makefile
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
6 changes: 6 additions & 0 deletions trunk/drivers/staging/ccg/TODO
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>
Loading

0 comments on commit cae7640

Please sign in to comment.