diff options
author | 2008-05-16 23:04:51 +0400 | |
---|---|---|
committer | 2008-05-22 06:19:27 -0400 | |
commit | 7fa0cba330af3a24f43ac85e14b0b5fed557cdab (patch) | |
tree | 37fdfdaa8ef3ff09a2f56ab783c15ee31bba5185 /drivers/usb/class/cdc-acm.c | |
parent | ucc_geth: Fix arguments to dma map/unmap functions (diff) | |
download | wireguard-linux-7fa0cba330af3a24f43ac85e14b0b5fed557cdab.tar.xz wireguard-linux-7fa0cba330af3a24f43ac85e14b0b5fed557cdab.zip |
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 <avorontsov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions