aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/skge.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-06-06 10:11:13 -0700
committerJeff Garzik <jeff@garzik.org>2006-06-08 15:44:54 -0400
commit7c442fa17eabd34301598acbca8ecb99daad6027 (patch)
treec77ff92e3c8e2eefddbc9bab112bdc01939dc020 /drivers/net/skge.h
parent[PATCH] skge: TX low water mark definition (diff)
downloadlinux-dev-7c442fa17eabd34301598acbca8ecb99daad6027.tar.xz
linux-dev-7c442fa17eabd34301598acbca8ecb99daad6027.zip
[PATCH] skge: transmit complete via IRQ not NAPI
The transmit side code has a number of ring problems that caused some of the Bugzilla reports. Rather than trying to fix the details, it is safer to rewrite the code that handles transmit completion and freeing. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to '')
-rw-r--r--drivers/net/skge.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/skge.h b/drivers/net/skge.h
index 46bd950612e5..ed19ff47ce11 100644
--- a/drivers/net/skge.h
+++ b/drivers/net/skge.h
@@ -2388,6 +2388,7 @@ struct skge_ring {
struct skge_hw {
void __iomem *regs;
struct pci_dev *pdev;
+ spinlock_t hw_lock;
u32 intr_mask;
struct net_device *dev[2];