diff options
author | Roland Dreier <rdreier@cisco.com> | 2007-10-09 15:47:37 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:55:31 -0700 |
commit | bfe13f54f5028cff034e3b6247e9f433908f4f4f (patch) | |
tree | 428853641da40769b53629e393a582a0e6956d45 /drivers/net/ibm_emac/ibm_emac_mal.h | |
parent | 9153f66a5b8e63c61374df4e6a4cbd0056e45178 (diff) | |
download | linux-bfe13f54f5028cff034e3b6247e9f433908f4f4f.tar.gz linux-bfe13f54f5028cff034e3b6247e9f433908f4f4f.tar.bz2 linux-bfe13f54f5028cff034e3b6247e9f433908f4f4f.zip |
ibm_emac: Convert to use napi_struct independent of struct net_device
Commit da3dedd9 ("[NET]: Make NAPI polling independent of struct
net_device objects.") changed the interface to NAPI polling. Fix up
the ibm_emac driver so that it works with this new interface. This is
actually a nice cleanup because ibm_emac is one of the drivers that
wants to have multiple NAPI structures for a single net_device.
Tested with the internal MAC of a PowerPC 440SPe SoC with an AMCC
'Yucca' evaluation board.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ibm_emac/ibm_emac_mal.h')
-rw-r--r-- | drivers/net/ibm_emac/ibm_emac_mal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ibm_emac/ibm_emac_mal.h b/drivers/net/ibm_emac/ibm_emac_mal.h index 64bc338acc6c..8f54d621994d 100644 --- a/drivers/net/ibm_emac/ibm_emac_mal.h +++ b/drivers/net/ibm_emac/ibm_emac_mal.h @@ -195,7 +195,7 @@ struct ibm_ocp_mal { dcr_host_t dcrhost; struct list_head poll_list; - struct net_device poll_dev; + struct napi_struct napi; struct list_head list; u32 tx_chan_mask; |