summaryrefslogtreecommitdiff
path: root/sys/dev/mii/gentbi.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2005-03-26 04:40:10 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2005-03-26 04:40:10 +0000
commit4383940392fe74c2d2b7fb9bb4bfab1af48e1459 (patch)
treed25ae963abc328866ffe27d4d2c49a5a92019347 /sys/dev/mii/gentbi.c
parenteedef93b45432d311e3a186545b98b7c3634d0b6 (diff)
Cleanup. Use defines, standard names, consistant comparison operators, etc.
for auto negotiation ticks code. No functional change. ok brad@
Diffstat (limited to 'sys/dev/mii/gentbi.c')
-rw-r--r--sys/dev/mii/gentbi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/gentbi.c b/sys/dev/mii/gentbi.c
index 836eae27263..8f2ed99d4ee 100644
--- a/sys/dev/mii/gentbi.c
+++ b/sys/dev/mii/gentbi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gentbi.c,v 1.2 2004/10/08 00:37:55 brad Exp $ */
+/* $OpenBSD: gentbi.c,v 1.3 2005/03/26 04:40:09 krw Exp $ */
/* $NetBSD: gentbi.c,v 1.12 2004/04/11 15:40:56 thorpej Exp $ */
/*-
@@ -160,7 +160,7 @@ gentbiattach(struct device *parent, struct device *self, void *aux)
sc->mii_funcs = &gentbi_funcs;
sc->mii_pdata = mii;
sc->mii_flags = ma->mii_flags;
- sc->mii_anegticks = 5;
+ sc->mii_anegticks = MII_ANEGTICKS;
PHY_RESET(sc);