Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da741b8c authored by David Brownell's avatar David Brownell Committed by Greg Kroah-Hartman
Browse files

usb ethernet gadget: split CDC Ethernet function



This is a "CDC Ethernet" (ECM) function driver, extracted from the
all-in-one Ethernet gadget driver.

This is a good example of how to implement interface altsettings.
In fact it's currently the only such example in the gadget stack,
pending addition of OBEX support.

Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 8a40819e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ obj-$(CONFIG_USB_M66592) += m66592-udc.o
C_UTILS =	composite.o usbstring.o config.o epautoconf.o

g_zero-objs			:= zero.o f_sourcesink.o f_loopback.o $(C_UTILS)
g_ether-objs			:= ether.o u_ether.o f_subset.o $(C_UTILS)
g_ether-objs			:= ether.o u_ether.o f_subset.o f_ecm.o $(C_UTILS)
g_serial-objs			:= serial.o u_serial.o f_acm.o f_serial.o $(C_UTILS)
g_midi-objs			:= gmidi.o usbstring.o config.o epautoconf.o
gadgetfs-objs			:= inode.o
+833 −0

File added.

Preview size limit exceeded, changes collapsed.

+23 −0

File changed.

Preview size limit exceeded, changes collapsed.

+24 −0

File changed.

Preview size limit exceeded, changes collapsed.