summaryrefslogtreecommitdiffstats
path: root/drivers/net/fec_mpc52xx.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-15 03:47:41 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-17 19:21:15 -0700
commit263ba3204a434d0ca851e1321b31cd58376b86cb (patch)
tree1ede30ac6cc3968e3595562040d824027bd7dd23 /drivers/net/fec_mpc52xx.c
parent8f0f2223cc08a5ae9a77f40edfe02e8a9f1abd77 (diff)
downloadop-kernel-dev-263ba3204a434d0ca851e1321b31cd58376b86cb.zip
op-kernel-dev-263ba3204a434d0ca851e1321b31cd58376b86cb.tar.gz
netdev: Convert all drivers away from netif_schedule().
They logically all want to trigger a schedule for all device TX queues. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fec_mpc52xx.c')
-rw-r--r--drivers/net/fec_mpc52xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fec_mpc52xx.c b/drivers/net/fec_mpc52xx.c
index 329edd9..ae9ecb7 100644
--- a/drivers/net/fec_mpc52xx.c
+++ b/drivers/net/fec_mpc52xx.c
@@ -197,7 +197,7 @@ static void mpc52xx_fec_adjust_link(struct net_device *dev)
if (priv->link == PHY_DOWN) {
new_state = 1;
priv->link = phydev->link;
- netif_schedule(dev);
+ netif_tx_schedule_all(dev);
netif_carrier_on(dev);
netif_start_queue(dev);
}
OpenPOWER on IntegriCloud