]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit49eca13b6c16d875808cf0fce61b3b54e73a6cdf
tree428853641da40769b53629e393a582a0e6956d45
parent29cea25b25d8a2a444dda2f454c5dc495e3f1a40
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