summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_xl.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1998-08-30 22:24:18 +0000
committerwpaul <wpaul@FreeBSD.org>1998-08-30 22:24:18 +0000
commit3d41efbe25fb22c3ed2db3fb2850212d9f694337 (patch)
tree04b5c3cb65f4a08900c2fcf61c63f8dad75c9e21 /sys/pci/if_xl.c
parent4138d6e9948652da1cdae440ad40b9a369f99a6d (diff)
downloadFreeBSD-src-3d41efbe25fb22c3ed2db3fb2850212d9f694337.zip
FreeBSD-src-3d41efbe25fb22c3ed2db3fb2850212d9f694337.tar.gz
Change the autonegotiation waiting period from 3 seconds to 5. This
delay controls how long the driver waits for autonegotiation to complete after setting the 'autoneg restart bit' in a PHY. In some cases, it seems 3 seconds is not long enough: with 3c905-TX cards (external PHY), you sometimes see 'autoneg not complete; no carrier' errors due to the timeout being too short. (3c905B adapters seem to be happy with 3 seconds though.)
Diffstat (limited to 'sys/pci/if_xl.c')
-rw-r--r--sys/pci/if_xl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index 2bc1d5d..3d47c69 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_xl.c,v 1.44 1998/08/23 21:30:02 wpaul Exp $
+ * $Id: if_xl.c,v 1.5 1998/08/24 17:51:38 wpaul Exp $
*/
/*
@@ -124,7 +124,7 @@
#ifndef lint
static char rcsid[] =
- "$Id: if_xl.c,v 1.44 1998/08/23 21:30:02 wpaul Exp $";
+ "$Id: if_xl.c,v 1.5 1998/08/24 17:51:38 wpaul Exp $";
#endif
/*
@@ -786,7 +786,7 @@ static void xl_autoneg_mii(sc, flag, verbose)
return;
}
xl_autoneg_xmit(sc);
- ifp->if_timer = 3;
+ ifp->if_timer = 5;
sc->xl_autoneg = 1;
sc->xl_want_auto = 0;
return;
OpenPOWER on IntegriCloud