summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/renesas/sh_eth.h
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2013-06-19 23:30:23 +0400
committerDavid S. Miller <davem@davemloft.net>2013-06-19 17:01:39 -0700
commit3719109d61ca96746c733538ec776d02a6952640 (patch)
tree68a0e18a90a7f9077cd6a53647edcb3252c3237a /drivers/net/ethernet/renesas/sh_eth.h
parentea7d69e75ac06daa7bc2fca2a8317197e5e3c81c (diff)
downloadblackbird-op-linux-3719109d61ca96746c733538ec776d02a6952640.tar.gz
blackbird-op-linux-3719109d61ca96746c733538ec776d02a6952640.zip
sh_eth: add NAPI support
The driver hasn't used NAPI so far; implement its support at last... The patch was tested on Renesas R8A77781 BOCK-W board. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas/sh_eth.h')
-rw-r--r--drivers/net/ethernet/renesas/sh_eth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/renesas/sh_eth.h b/drivers/net/ethernet/renesas/sh_eth.h
index d05b60b826eb..029744f77af6 100644
--- a/drivers/net/ethernet/renesas/sh_eth.h
+++ b/drivers/net/ethernet/renesas/sh_eth.h
@@ -505,6 +505,7 @@ struct sh_eth_private {
u32 cur_tx, dirty_tx;
u32 rx_buf_sz; /* Based on MTU+slack. */
int edmac_endian;
+ struct napi_struct napi;
/* MII transceiver section. */
u32 phy_id; /* PHY ID */
struct mii_bus *mii_bus; /* MDIO bus control */
OpenPOWER on IntegriCloud