aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/atlx/atl2.h
diff options
context:
space:
mode:
authorKevin Hao <kexin.hao@windriver.com>2008-09-25 12:20:11 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-08 18:49:24 -0400
commit87241840b214734c023bda83372059de3f7eeabd (patch)
tree805f28f7636a7f0d708c01c6d2260065aa477c7a /drivers/net/atlx/atl2.h
parent0acb28396728f42b6b1553c85d27c37513796043 (diff)
net: remove LLTX in atl2 driver
When NETIF_F_LLTX is set, the atlx driver will use a private lock. But in recent kernels this implementation seems redundant and can cause problems where AF_PACKET sees things twice. Since NETIF_F_LLTX is marked as deprecated and shouldn't be used in new driver, this patch removes NETIF_F_LLTX and adds a mmiowb before sending packet. I have tested this driver on a Eee PC. It works well. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Acked-by: Jay Cliburn <jacliburn@bellsouth.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/atlx/atl2.h')
-rw-r--r--drivers/net/atlx/atl2.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/atlx/atl2.h b/drivers/net/atlx/atl2.h
index 6e1f28ff227b..09974df76b18 100644
--- a/drivers/net/atlx/atl2.h
+++ b/drivers/net/atlx/atl2.h
@@ -462,7 +462,6 @@ struct atl2_adapter {
462 u16 link_duplex; 462 u16 link_duplex;
463 463
464 spinlock_t stats_lock; 464 spinlock_t stats_lock;
465 spinlock_t tx_lock;
466 465
467 struct work_struct reset_task; 466 struct work_struct reset_task;
468 struct work_struct link_chg_task; 467 struct work_struct link_chg_task;