]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit3b12e0141f7a97c3b84731b5f935ed738bb6f960
treebf6913c8d7097175688a3fb0d39dd4b0ca3d1f7b
parentff0ce6845bc18292e80ea40d11c3d3a539a3fc5e
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