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
eb757e4f
Commit
eb757e4f
authored
Apr 21, 2004
by
David Brownell
Committed by
Linus Torvalds
Apr 21, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: usbnet and pl2301/2302 reset
Handle some PL-2301/2302 devices better.
parent
78bf7a14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
drivers/usb/net/usbnet.c
drivers/usb/net/usbnet.c
+5
-1
No files found.
drivers/usb/net/usbnet.c
View file @
eb757e4f
...
...
@@ -2107,8 +2107,12 @@ pl_set_QuickLink_features (struct usbnet *dev, int val)
static
int
pl_reset
(
struct
usbnet
*
dev
)
{
return
pl_set_QuickLink_features
(
dev
,
/* some units seem to need this reset, others reject it utterly.
* FIXME be more like "naplink" or windows drivers.
*/
(
void
)
pl_set_QuickLink_features
(
dev
,
PL_S_EN
|
PL_RESET_OUT
|
PL_RESET_IN
|
PL_PEER_E
);
return
0
;
}
static
const
struct
driver_info
prolific_info
=
{
...
...
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