sky2: handle descriptor errors
authorStephen Hemminger <shemminger@linux-foundation.org>
Wed, 11 Apr 2007 21:47:59 +0000 (14:47 -0700)
committerJeff Garzik <jeff@garzik.org>
Thu, 19 Apr 2007 19:01:17 +0000 (15:01 -0400)
commit40b01727a5a65597160f1738d3fbe63de902f0cb
treebdd854422122703257d5c25658201455f977abc0
parent0a17e4c252ce951615f3c1fccae6d6262c8d4187
sky2: handle descriptor errors

There should never be descriptor error unless hardware or driver is buggy.
But if an error occurs, print useful information, clear irq, and recover.

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