linux/drivers/net/fs_enet
Scott Wood f860f49ee2 fs_enet: Update for API changes
This driver was recently broken by several changes for which this
driver was not (or was improperly) updated:

1. SET_MODULE_OWNER() was removed.
2. netif_napi_add() was only being called when building with
the old CPM binding.
3. The received/budget test was backwards.
4. to_net_dev() was wrong -- the device struct embedded in
the net_device struct is not the same as the of_platform
device in the private struct.
5. napi_disable/napi_enable was being called even when napi
was not being used.

These changes have been fixed, and napi is now on by default.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-10-17 20:11:28 -04:00
..
Kconfig fs_enet: Be an of_platform device when CONFIG_PPC_CPM_NEW_BINDING is set. 2007-10-10 16:54:03 -07:00
Makefile [PATCH] FS_ENET: use PAL for mii management 2006-08-19 17:44:31 -04:00
fec.h [PATCH] FS_ENET: use PAL for mii management 2006-08-19 17:44:31 -04:00
fs_enet-main.c fs_enet: Update for API changes 2007-10-17 20:11:28 -04:00
fs_enet.h fs_enet: Update for API changes 2007-10-17 20:11:28 -04:00
mac-fcc.c fs_enet: sparse fixes 2007-10-10 16:54:04 -07:00
mac-fec.c fs_enet: sparse fixes 2007-10-10 16:54:04 -07:00
mac-scc.c fs_enet: sparse fixes 2007-10-10 16:54:04 -07:00
mii-bitbang.c fs_enet: Convert mii-bitbang to use the generic bitbang MDIO code. 2007-10-10 16:54:04 -07:00
mii-fec.c fs_enet: sparse fixes 2007-10-10 16:54:04 -07:00