aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sundance.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sundance.c')
-rw-r--r--drivers/net/sundance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sundance.c b/drivers/net/sundance.c
index 02679e688c4c..c06ecc8002b9 100644
--- a/drivers/net/sundance.c
+++ b/drivers/net/sundance.c
@@ -1102,7 +1102,7 @@ reset_tx (struct net_device *dev)
1102 np->cur_tx = np->dirty_tx = 0; 1102 np->cur_tx = np->dirty_tx = 0;
1103 np->cur_task = 0; 1103 np->cur_task = 0;
1104 1104
1105 np->last_tx = 0; 1105 np->last_tx = NULL;
1106 iowrite8(127, ioaddr + TxDMAPollPeriod); 1106 iowrite8(127, ioaddr + TxDMAPollPeriod);
1107 1107
1108 iowrite16 (StatsEnable | RxEnable | TxEnable, ioaddr + MACCtrl1); 1108 iowrite16 (StatsEnable | RxEnable | TxEnable, ioaddr + MACCtrl1);
@@ -1648,7 +1648,7 @@ static int netdev_close(struct net_device *dev)
1648 np->cur_tx = 0; 1648 np->cur_tx = 0;
1649 np->dirty_tx = 0; 1649 np->dirty_tx = 0;
1650 np->cur_task = 0; 1650 np->cur_task = 0;
1651 np->last_tx = 0; 1651 np->last_tx = NULL;
1652 1652
1653 netif_stop_queue(dev); 1653 netif_stop_queue(dev);
1654 1654