aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/gianfar.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-15 06:47:41 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-17 22:21:15 -0400
commit263ba3204a434d0ca851e1321b31cd58376b86cb (patch)
tree1ede30ac6cc3968e3595562040d824027bd7dd23 /drivers/net/gianfar.c
parent8f0f2223cc08a5ae9a77f40edfe02e8a9f1abd77 (diff)
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/gianfar.c')
-rw-r--r--drivers/net/gianfar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c
index fa78d6870124..45a63172852f 100644
--- a/drivers/net/gianfar.c
+++ b/drivers/net/gianfar.c
@@ -1234,7 +1234,7 @@ static void gfar_timeout(struct net_device *dev)
1234 startup_gfar(dev); 1234 startup_gfar(dev);
1235 } 1235 }
1236 1236
1237 netif_schedule(dev); 1237 netif_tx_schedule_all(dev);
1238} 1238}
1239 1239
1240/* Interrupt Handler for Transmit complete */ 1240/* Interrupt Handler for Transmit complete */
@@ -1725,7 +1725,7 @@ static void adjust_link(struct net_device *dev)
1725 if (!priv->oldlink) { 1725 if (!priv->oldlink) {
1726 new_state = 1; 1726 new_state = 1;
1727 priv->oldlink = 1; 1727 priv->oldlink = 1;
1728 netif_schedule(dev); 1728 netif_tx_schedule_all(dev);
1729 } 1729 }
1730 } else if (priv->oldlink) { 1730 } else if (priv->oldlink) {
1731 new_state = 1; 1731 new_state = 1;