summaryrefslogtreecommitdiff
path: root/sys/dev/mii/miivar.h
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2001-06-25 20:24:14 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2001-06-25 20:24:14 +0000
commita7a6103ab9bb4b69da543361bb4767658660feb8 (patch)
tree85d31d7009c0b4b9bbe7dd4f8790a347183e1277 /sys/dev/mii/miivar.h
parent83de6993af1bb4493c0cc797fc9a69fb9e55a842 (diff)
Change autonegotiation timeout for devices with a gigabit phy to 10s. All
other devices default to 5 seconds. ok deraadt. from NetBSD.
Diffstat (limited to 'sys/dev/mii/miivar.h')
-rw-r--r--sys/dev/mii/miivar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/mii/miivar.h b/sys/dev/mii/miivar.h
index bb7562c6fd3..95ce35035db 100644
--- a/sys/dev/mii/miivar.h
+++ b/sys/dev/mii/miivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: miivar.h,v 1.10 2001/06/08 02:16:41 nate Exp $ */
+/* $OpenBSD: miivar.h,v 1.11 2001/06/25 20:24:13 nate Exp $ */
/* $NetBSD: miivar.h,v 1.17 2000/03/06 20:56:57 thorpej Exp $ */
/*-
@@ -140,6 +140,7 @@ struct mii_softc {
int mii_capabilities; /* capabilities from BMSR */
int mii_extcapabilities; /* extended capabilities */
int mii_ticks; /* MII_TICK counter */
+ int mii_anegticks; /* ticks before retrying aneg */
#if defined(__NetBSD__)
struct callout mii_nway_ch; /* NWAY callout */