From: Ishizaki Kou Date: Fri, 11 Apr 2008 03:29:20 +0000 (+0900) Subject: spidernet: increase auto-negotiation timeout to 5 seconds X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4f2d65c77465e63eec835164aff42c098f32d4ad;p=openwrt%2Fstaging%2Fblogic.git spidernet: increase auto-negotiation timeout to 5 seconds This patch extends the timeout for spidernet auto-negotiation. Auto-negotiation often fails to finish in 2 seconds. Signed-off-by: Kou Ishizaki Acked-by: Jens Osterkamp Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/spider_net.h b/drivers/net/spider_net.h index e1d05c0f47eb..e335565de803 100644 --- a/drivers/net/spider_net.h +++ b/drivers/net/spider_net.h @@ -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