From: Anton Vorontsov Date: Fri, 16 May 2008 19:04:51 +0000 (+0400) Subject: uli526x: add support for netpoll X-Git-Tag: v2.6.26-rc4~7^2~1^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fa0cba330af3a24f43ac85e14b0b5fed557cdab;p=pandora-kernel.git uli526x: add support for netpoll This patch adds netpoll support for the uli526x ethernet driver -- simply call the interrupt handler for polling. To do this without disable_irq()/enable_irq() pair we should fully protect the handler. Luckily, it's already using irqsave spinlock, the only unprotected place is interrupts re-enabling write. It was safe to re-enable interrupts without holding the spinlock, but with netpoll possibility now it doesn't seem so. Patch was tested using netconsole and KGDBoE. Signed-off-by: Anton Vorontsov Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed