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
5c20c511
Commit
5c20c511
authored
May 18, 2003
by
David Brownell
Committed by
Anton Blanchard
May 18, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: usbtest, talk to user mode "firmware"
Supports some user-mode testing "firmware".
parent
d8475074
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
drivers/usb/misc/usbtest.c
drivers/usb/misc/usbtest.c
+12
-0
No files found.
drivers/usb/misc/usbtest.c
View file @
5c20c511
...
@@ -1349,6 +1349,13 @@ static struct usbtest_info fw_info = {
...
@@ -1349,6 +1349,13 @@ static struct usbtest_info fw_info = {
.
alt
=
0
,
.
alt
=
0
,
};
};
static
struct
usbtest_info
um_info
=
{
.
name
=
"user mode test driver"
,
.
ep_in
=
7
,
.
ep_out
=
3
,
.
alt
=
-
1
,
};
#ifdef IBOT2
#ifdef IBOT2
/* this is a nice source of high speed bulk data;
/* this is a nice source of high speed bulk data;
* uses an FX2, with firmware provided in the device
* uses an FX2, with firmware provided in the device
...
@@ -1414,6 +1421,11 @@ static struct usb_device_id id_table [] = {
...
@@ -1414,6 +1421,11 @@ static struct usb_device_id id_table [] = {
.
driver_info
=
(
unsigned
long
)
&
fw_info
,
.
driver_info
=
(
unsigned
long
)
&
fw_info
,
},
},
/* so does a user-mode variant */
{
USB_DEVICE
(
0x0525
,
0xa4a4
),
.
driver_info
=
(
unsigned
long
)
&
um_info
,
},
#ifdef KEYSPAN_19Qi
#ifdef KEYSPAN_19Qi
/* Keyspan 19qi uses an21xx (original EZ-USB) */
/* Keyspan 19qi uses an21xx (original EZ-USB) */
// this does not coexist with the real Keyspan 19qi driver!
// this does not coexist with the real Keyspan 19qi driver!
...
...
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