From: Sepherosa Ziehau Date: Tue, 17 Jul 2012 01:29:39 +0000 (+0800) Subject: bge: Increase firmware hand shake timeout X-Git-Tag: v3.2.0~584 X-Git-Url: https://gitweb.dragonflybsd.org/~tuxillo/dragonfly.git/commitdiff_plain/1dfb1558e5c6696ac497917ba83fd4d330caddac bge: Increase firmware hand shake timeout This allows BMC5761 to complete firmware hand shaking w/o timeout, when the if_bge module is not loaded and the interface is brought up by using: ifconfig bge0 inet ip4 --- diff --git a/sys/dev/netif/bge/if_bgevar.h b/sys/dev/netif/bge/if_bgevar.h index 8ed95ba5f0..3bedd5c1e1 100644 --- a/sys/dev/netif/bge/if_bgevar.h +++ b/sys/dev/netif/bge/if_bgevar.h @@ -58,7 +58,7 @@ struct bge_gib { #define BGE_JUMBO_MTU (BGE_JUMBO_FRAMELEN-ETHER_HDR_LEN-ETHER_CRC_LEN) #define BGE_TIMEOUT 5000 -#define BGE_FIRMWARE_TIMEOUT 20000 +#define BGE_FIRMWARE_TIMEOUT 100000 #define BGE_TXCONS_UNSET 0xFFFF /* impossible value */ /*