diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2013-06-19 23:30:23 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-19 17:01:39 -0700 |
commit | 3719109d61ca96746c733538ec776d02a6952640 (patch) | |
tree | 68a0e18a90a7f9077cd6a53647edcb3252c3237a /drivers/net/ethernet/renesas/sh_eth.h | |
parent | ea7d69e75ac06daa7bc2fca2a8317197e5e3c81c (diff) | |
download | op-kernel-dev-3719109d61ca96746c733538ec776d02a6952640.zip op-kernel-dev-3719109d61ca96746c733538ec776d02a6952640.tar.gz |
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.h | 1 |
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 d05b60b..029744f7 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 */ |