diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2013-12-16 11:35:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-09 12:24:22 -0800 |
commit | 5fd93067a1e7bc8ce6a889816d2b4c2d19a2e970 (patch) | |
tree | 2bfddfeb1ff90283ca3d869ae88cca18ce4f2312 /drivers/net/usb/smsc75xx.h | |
parent | 1552c3d8e10d1113d55237f3dd0d65c0a3501632 (diff) |
dm9601: work around tx fifo sync issue on dm962x
commit 4263c86dca5198da6bd3ad826d0b2304fbe25776 upstream.
Certain dm962x revisions contain an bug, where if a USB bulk transfer retry
(E.G. if bulk crc mismatch) happens right after a transfer with odd or
maxpacket length, the internal tx hardware fifo gets out of sync causing
the interface to stop working.
Work around it by adding up to 3 bytes of padding to ensure this situation
cannot trigger.
This workaround also means we never pass multiple-of-maxpacket size skb's
to usbnet, so the length adjustment to handle usbnet's padding of those can
be removed.
Reported-by: Joseph Chang <joseph_chang@davicom.com.tw>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/usb/smsc75xx.h')
0 files changed, 0 insertions, 0 deletions