]> git.baikalelectronics.ru Git - kernel.git/commit
sky2: sky2 FE+ receive status workaround
authorStephen Hemminger <shemminger@linux-foundation.org>
Thu, 27 Sep 2007 00:58:47 +0000 (17:58 -0700)
committerJeff Garzik <jeff@garzik.org>
Fri, 28 Sep 2007 03:32:28 +0000 (23:32 -0400)
commit9e0c607194760225879314b8d38971949fbe4cc7
treebf6913c8d7097175688a3fb0d39dd4b0ca3d1f7b
parent04fda814d3ef65ce5fee4841b864f71cee7400d2
sky2: sky2 FE+ receive status workaround

The Yukon FE+ chip appears to have a hardware glitch that causes bogus
receive status values to be posted. The data in the packet is good, but
the status value is random garbage.  As a temporary workaround until the
problem is better understood, implement the workaround the vendor driver
used of ignoring the status value on this chip.

Since this means trusting dodgy hardware values; add additional checking
of the receive packet length.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sky2.c