]> err.no Git - linux-2.6/commitdiff
[PATCH] powerpc/cell spidernet add missing netdev watchdog
authorLinas Vepstas <linas@austin.ibm.com>
Tue, 10 Oct 2006 21:01:51 +0000 (16:01 -0500)
committerJeff Garzik <jeff@garzik.org>
Wed, 11 Oct 2006 08:04:25 +0000 (04:04 -0400)
Set the netdev watchdog timer.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Cc: James K Lewis <jklewis@us.ibm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/spider_net.c

index f5f73571a7a61b22865f2cab42ac5f6ad47789b9..0aed69382b28772c5f2b838cb17e62adcfe8d910 100644 (file)
@@ -686,6 +686,7 @@ spider_net_prepare_tx_descr(struct spider_net_card *card,
 
        descr->prev->next_descr_addr = descr->bus_addr;
 
+       card->netdev->trans_start = jiffies; /* set netdev watchdog timer */
        return 0;
 }