Re: [PATCH 4/13]: PCI Err: e100 ethernet driver recovery

From: Benjamin Herrenschmidt
Date: Wed Jun 29 2005 - 18:47:10 EST


On Wed, 2005-06-29 at 18:58 +0200, Andi Kleen wrote:
> > Yep, OK. Pushig the timer would in fact break if the device was marked
> > perm disabled.
>
> I think for network drivers you should just write a generic error handler
> (perhaps in net/core/dev.c) that calls the watchdog handler.
> Then all drivers could be easily converted without much code duplication.

Provided the watchdog timer completely reconfigures the device from
reset since the slot will be reset...

Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/