summaryrefslogtreecommitdiffstats
path: root/drivers/net/gianfar.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-15 12:47:41 +0200
committerDavid S. Miller <davem@davemloft.net>2008-07-18 04:21:15 +0200
commit263ba3204a434d0ca851e1321b31cd58376b86cb (patch)
tree1ede30ac6cc3968e3595562040d824027bd7dd23 /drivers/net/gianfar.c
parentnet: Implement simple sw TX hashing. (diff)
downloadlinux-263ba3204a434d0ca851e1321b31cd58376b86cb.tar.xz
linux-263ba3204a434d0ca851e1321b31cd58376b86cb.zip
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)
startup_gfar(dev);
}
- netif_schedule(dev);
+ netif_tx_schedule_all(dev);
}
/* Interrupt Handler for Transmit complete */
@@ -1725,7 +1725,7 @@ static void adjust_link(struct net_device *dev)
if (!priv->oldlink) {
new_state = 1;
priv->oldlink = 1;
- netif_schedule(dev);
+ netif_tx_schedule_all(dev);
}
} else if (priv->oldlink) {
new_state = 1;