diff options
author | Kevin Hao <kexin.hao@windriver.com> | 2008-09-25 18:20:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-09 00:49:24 +0200 |
commit | 87241840b214734c023bda83372059de3f7eeabd (patch) | |
tree | 805f28f7636a7f0d708c01c6d2260065aa477c7a /drivers/net/atlx/atl2.h | |
parent | phylib: Wake PHY state machine on interrupt (diff) | |
download | linux-87241840b214734c023bda83372059de3f7eeabd.tar.xz linux-87241840b214734c023bda83372059de3f7eeabd.zip |
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; |