Re: sleeping in dev->tx_timeout?

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sun Aug 03 2003 - 15:54:54 EST


On Sul, 2003-08-03 at 20:48, Jeff Garzik wrote:
> These days drivers often need quite a while for hardware reset. I am
> pushing to move this code, long term, into process context. So, in
> tx_timeout:
> * disable NIC and interrupts as best you can, quickly
> * schedule_task/schedule_work to schedule the full hardware reset

And if the hardware is hard to recover or needs messy recovery code take
a look at the PCI layer tricks in -ac

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



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:22 EST