summaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-07-26 18:44:47 +0200
committerDavid S. Miller <davem@davemloft.net>2011-07-28 07:39:31 +0200
commitbca0beb9363f8487ac902931a50eb00180a2d14a (patch)
treef7c87ac7a9f8c055a883c695ad8c8b0db336edd6 /drivers/net/tg3.c
parentASIX: Simplify condition in rx_fixup() (diff)
downloadlinux-bca0beb9363f8487ac902931a50eb00180a2d14a.tar.xz
linux-bca0beb9363f8487ac902931a50eb00180a2d14a.zip
ASIX: Use only 11 bits of header for data size
The AX88772B uses only 11 bits of the header for the actual size. The other bits are used for something else. This causes dmesg full of messages: asix_rx_fixup() Bad Header Length This patch trims the check to only 11 bits. I believe on older chips, the remaining 5 top bits are unused. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.c')
0 files changed, 0 insertions, 0 deletions