]> git.baikalelectronics.ru Git - kernel.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)
commitc3409788bf834a0f2e9888e663f62364ab0871d5
tree11dff9f4326b300ff80cbc4f627f797a06ad8c52
parentbafd4b18ccedce3b1469e73fcd7f1f4a98a44f74
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