diff options
author | Kevin Hao <kexin.hao@windriver.com> | 2008-09-25 16:20:11 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-08 15:49:24 -0700 |
commit | 87241840b214734c023bda83372059de3f7eeabd (patch) | |
tree | 805f28f7636a7f0d708c01c6d2260065aa477c7a /drivers/net/atlx/atl2.h | |
parent | 0acb28396728f42b6b1553c85d27c37513796043 (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.h | 1 |
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 { u16 link_duplex; spinlock_t stats_lock; - spinlock_t tx_lock; struct work_struct reset_task; struct work_struct link_chg_task; |