ibm_emac: Convert to use napi_struct independent of struct net_device
authorRoland Dreier <rdreier@cisco.com>
Tue, 9 Oct 2007 22:47:37 +0000 (15:47 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:31 +0000 (16:55 -0700)
commitbfe13f54f5028cff034e3b6247e9f433908f4f4f
tree428853641da40769b53629e393a582a0e6956d45
parent9153f66a5b8e63c61374df4e6a4cbd0056e45178
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>
drivers/net/ibm_emac/ibm_emac_mal.c
drivers/net/ibm_emac/ibm_emac_mal.h
include/linux/netdevice.h