Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
8d8ac0fe
Commit
8d8ac0fe
authored
Jan 05, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB: add gadget serial driver from Al Borchers
parent
9ab83212
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2144 additions
and
1 deletion
+2144
-1
drivers/usb/gadget/Kconfig
drivers/usb/gadget/Kconfig
+21
-0
drivers/usb/gadget/Makefile
drivers/usb/gadget/Makefile
+2
-1
drivers/usb/gadget/serial.c
drivers/usb/gadget/serial.c
+2121
-0
No files found.
drivers/usb/gadget/Kconfig
View file @
8d8ac0fe
...
@@ -177,6 +177,27 @@ config USB_GADGETFS_PXA2XX
...
@@ -177,6 +177,27 @@ config USB_GADGETFS_PXA2XX
depends on USB_GADGETFS && USB_PXA2XX
depends on USB_GADGETFS && USB_PXA2XX
default y
default y
config USB_G_SERIAL
tristate "serial Gadget"
depends on USB_GADGET && (USB_DUMMY_HCD || USB_NET2280 || USB_PXA2XX || USB_SA1100)
config USB_G_SERIAL_NET2280
bool
# for now, treat the "dummy" hcd as if it were a net2280
depends on USB_G_SERIAL && (USB_NET2280 || USB_DUMMY_HCD)
default y
config USB_G_SERIAL_PXA2XX
bool
depends on USB_G_SERIAL && USB_PXA2XX
default y
config USB_G_SERIAL_SA1100
bool
depends on USB_G_SERIAL && USB_SA1100
default y
endchoice
endchoice
# endmenuconfig
# endmenuconfig
drivers/usb/gadget/Makefile
View file @
8d8ac0fe
...
@@ -8,9 +8,10 @@ obj-$(CONFIG_USB_NET2280) += net2280.o
...
@@ -8,9 +8,10 @@ obj-$(CONFIG_USB_NET2280) += net2280.o
#
#
g_zero-objs
:=
zero.o usbstring.o
g_zero-objs
:=
zero.o usbstring.o
g_ether-objs
:=
ether.o usbstring.o
g_ether-objs
:=
ether.o usbstring.o
g_serial-objs
:=
serial.o usbstring.o
gadgetfs-objs
:=
inode.o usbstring.o
gadgetfs-objs
:=
inode.o usbstring.o
obj-$(CONFIG_USB_ZERO)
+=
g_zero.o
obj-$(CONFIG_USB_ZERO)
+=
g_zero.o
obj-$(CONFIG_USB_ETH)
+=
g_ether.o
obj-$(CONFIG_USB_ETH)
+=
g_ether.o
obj-$(CONFIG_USB_GADGETFS)
+=
gadgetfs.o
obj-$(CONFIG_USB_GADGETFS)
+=
gadgetfs.o
obj-$(CONFIG_USB_G_SERIAL)
+=
g_serial.o
drivers/usb/gadget/serial.c
0 → 100644
View file @
8d8ac0fe
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment