aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dm9000.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/dm9000.c')
-rw-r--r--drivers/net/dm9000.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c
index a818ea998bbe..254b6f724c60 100644
--- a/drivers/net/dm9000.c
+++ b/drivers/net/dm9000.c
@@ -769,7 +769,7 @@ dm9000_hash_table(struct net_device *dev)
769} 769}
770 770
771/* 771/*
772 * Initilize dm9000 board 772 * Initialize dm9000 board
773 */ 773 */
774static void 774static void
775dm9000_init_dm9000(struct net_device *dev) 775dm9000_init_dm9000(struct net_device *dev)
@@ -825,7 +825,7 @@ dm9000_init_dm9000(struct net_device *dev)
825 /* Init Driver variable */ 825 /* Init Driver variable */
826 db->tx_pkt_cnt = 0; 826 db->tx_pkt_cnt = 0;
827 db->queue_pkt_len = 0; 827 db->queue_pkt_len = 0;
828 dev->trans_start = 0; 828 dev->trans_start = jiffies;
829} 829}
830 830
831/* Our watchdog timed out. Called by the networking layer */ 831/* Our watchdog timed out. Called by the networking layer */
@@ -843,7 +843,7 @@ static void dm9000_timeout(struct net_device *dev)
843 dm9000_reset(db); 843 dm9000_reset(db);
844 dm9000_init_dm9000(dev); 844 dm9000_init_dm9000(dev);
845 /* We can accept TX packets again */ 845 /* We can accept TX packets again */
846 dev->trans_start = jiffies; 846 dev->trans_start = jiffies; /* prevent tx timeout */
847 netif_wake_queue(dev); 847 netif_wake_queue(dev);
848 848
849 /* Restore previous register address */ 849 /* Restore previous register address */