]> 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:48:56 +0000 (15:48 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:32 +0000 (16:55 -0700)
commit39cd9bafeaa6c656a12dd4c862ed1ecb22ebaf65
tree99b76e904933d1cdd04a577d7c69d3a30ab116e1
parentf85295c277612265ed6912adaba7f5efcda834f5
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_newemac driver so that it works with this new interface.  This
is actually a nice cleanup because ibm_newemac is one of the drivers
that wants to have multiple NAPI structures for a single net_device.

Compile-tested only as I don't have a system that uses the ibm_newemac
driver.  This conversion the conversion for the ibm_emac driver that
was tested on real PowerPC 440SPe hardware.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ibm_newemac/mal.c
drivers/net/ibm_newemac/mal.h