summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/atheros/atlx/atl1.h
diff options
context:
space:
mode:
authorTony Zelenoff <antonz@parallels.com>2012-04-13 10:09:47 +0400
committerDavid S. Miller <davem@davemloft.net>2012-04-15 20:55:07 +0400
commit6294512bbe5288a29f146a3cd12921bda8bce4eb (patch)
treef6ecff9eee161330b2fc0953afa13ae2e0e795d5 /drivers/net/ethernet/atheros/atlx/atl1.h
parent3e1d83f711cda05e326d8a4baa6fa34ee18ad7b8 (diff)
downloadlinux-6294512bbe5288a29f146a3cd12921bda8bce4eb.tar.xz
atl1: make driver napi compatible
This is first step, here there is no fine interrupt disabling which cause TX/ERR interrupts stalling when RX scheduled ints processed. Signed-off-by: Tony Zelenoff <antonz@parallels.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/atheros/atlx/atl1.h')
-rw-r--r--drivers/net/ethernet/atheros/atlx/atl1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/atheros/atlx/atl1.h b/drivers/net/ethernet/atheros/atlx/atl1.h
index 109d6da8be97..71bb50dfc5fa 100644
--- a/drivers/net/ethernet/atheros/atlx/atl1.h
+++ b/drivers/net/ethernet/atheros/atlx/atl1.h
@@ -758,6 +758,7 @@ struct atl1_adapter {
u16 link_speed;
u16 link_duplex;
spinlock_t lock;
+ struct napi_struct napi;
struct work_struct tx_timeout_task;
struct work_struct link_chg_task;
struct work_struct pcie_dma_to_rst_task;