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
7c9481c3
Commit
7c9481c3
authored
Sep 04, 2003
by
David Brownell
Committed by
Greg Kroah-Hartman
Sep 04, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: usb "gadgetfs" (2/2)
This adds the kconfig/kbuild hooks needed to build the driver.
parent
80150dc5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
drivers/usb/gadget/Kconfig
drivers/usb/gadget/Kconfig
+24
-0
drivers/usb/gadget/Makefile
drivers/usb/gadget/Makefile
+2
-0
No files found.
drivers/usb/gadget/Kconfig
View file @
7c9481c3
...
...
@@ -147,6 +147,30 @@ config USB_ETH_SA1100
depends on USB_ETH && USB_SA1100
default y
config USB_GADGETFS
tristate "Gadget Filesystem (EXPERIMENTAL)"
depends on USB_GADGET && (USB_DUMMY_HCD || USB_NET2280 || USB_PXA2XX) && EXPERIMENTAL
help
This driver provides a filesystem based API that lets user mode
programs implement a single-configuration USB device, including
endpoint I/O and control requests that don't relate to enumeration.
All endpoints, transfer speeds, and transfer types supported by
the hardware are available, through read() and write() calls.
Say "y" to link the driver statically, or "m" to build a
dynamically linked module called "gadgetfs".
config USB_GADGETFS_NET2280
bool
# for now, treat the "dummy" hcd as if it were a net2280
depends on USB_GADGETFS && (USB_NET2280 || USB_DUMMY_HCD)
default y
config USB_GADGETFS_PXA2XX
bool
depends on USB_GADGETFS && USB_PXA2XX
default y
endchoice
# endmenuconfig
drivers/usb/gadget/Makefile
View file @
7c9481c3
...
...
@@ -8,7 +8,9 @@ obj-$(CONFIG_USB_NET2280) += net2280.o
#
g_zero-objs
:=
zero.o usbstring.o
g_ether-objs
:=
ether.o usbstring.o
gadgetfs-objs
:=
inode.o usbstring.o
obj-$(CONFIG_USB_ZERO)
+=
g_zero.o
obj-$(CONFIG_USB_ETH)
+=
g_ether.o
obj-$(CONFIG_USB_GADGETFS)
+=
gadgetfs.o
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