]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sky2: receive FIFO checking
authorStephen Hemminger <shemminger@linux-foundation.org>
Wed, 19 Sep 2007 22:36:46 +0000 (15:36 -0700)
committerJeff Garzik <jeff@garzik.org>
Thu, 20 Sep 2007 19:23:00 +0000 (15:23 -0400)
commit75e806838a3327d4ca9030e588d34de11b04f341
tree11dff9f4326b300ff80cbc4f627f797a06ad8c52
parent05745c4ab1c58fbb6ab8e8d3a40e0e395d7e2b0e
sky2: receive FIFO checking

A driver writer from another operating system hinted that
the versions of Yukon 2 chip with rambuffer (EC and XL) have
a hardware bug that if the FIFO ever gets completely full it
will hang. Sounds like a classic ring full vs ring empty wrap around
bug.

As a workaround, use the existing watchdog timer to check for
ring full lockup.

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