Commit eb757e4f authored by David Brownell's avatar David Brownell Committed by Linus Torvalds

[PATCH] USB: usbnet and pl2301/2302 reset

Handle some PL-2301/2302 devices better.
parent 78bf7a14
......@@ -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 = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment