spidernet: increase auto-negotiation timeout to 5 seconds
authorIshizaki Kou <kou.ishizaki@toshiba.co.jp>
Fri, 11 Apr 2008 03:29:20 +0000 (12:29 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Apr 2008 00:06:50 +0000 (20:06 -0400)
This patch extends the timeout for spidernet auto-negotiation.
Auto-negotiation often fails to finish in 2 seconds.

Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Acked-by: Jens Osterkamp <jens@de.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/spider_net.h

index e1d05c0f47ebce3e6078d996f10fd4c9b06eab1f..e335565de8031619d265b938b32c1a5638e4e2c8 100644 (file)
@@ -52,7 +52,7 @@ extern char spider_net_driver_name[];
 
 #define SPIDER_NET_TX_TIMER                    (HZ/5)
 #define SPIDER_NET_ANEG_TIMER                  (HZ)
-#define SPIDER_NET_ANEG_TIMEOUT                        2
+#define SPIDER_NET_ANEG_TIMEOUT                        5
 
 #define SPIDER_NET_RX_CSUM_DEFAULT             1