aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ucc_geth.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/ucc_geth.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/ucc_geth.c')
-rw-r--r--drivers/net/ucc_geth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index 07933f71b86d..c1b55bc7eab7 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -1588,7 +1588,7 @@ static void adjust_link(struct net_device *dev)
1588 if (!ugeth->oldlink) { 1588 if (!ugeth->oldlink) {
1589 new_state = 1; 1589 new_state = 1;
1590 ugeth->oldlink = 1; 1590 ugeth->oldlink = 1;
1591 netif_schedule(dev); 1591 netif_tx_schedule_all(dev);
1592 } 1592 }
1593 } else if (ugeth->oldlink) { 1593 } else if (ugeth->oldlink) {
1594 new_state = 1; 1594 new_state = 1;
@@ -3372,7 +3372,7 @@ static void ucc_geth_timeout(struct net_device *dev)
3372 ucc_geth_startup(ugeth); 3372 ucc_geth_startup(ugeth);
3373 } 3373 }
3374 3374
3375 netif_schedule(dev); 3375 netif_tx_schedule_all(dev);
3376} 3376}
3377 3377
3378/* This is called by the kernel when a frame is ready for transmission. */ 3378/* This is called by the kernel when a frame is ready for transmission. */