diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-03-26 04:40:10 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-03-26 04:40:10 +0000 |
commit | 4383940392fe74c2d2b7fb9bb4bfab1af48e1459 (patch) | |
tree | d25ae963abc328866ffe27d4d2c49a5a92019347 /sys/dev/mii/acphy.c | |
parent | eedef93b45432d311e3a186545b98b7c3634d0b6 (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/acphy.c')
-rw-r--r-- | sys/dev/mii/acphy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/acphy.c b/sys/dev/mii/acphy.c index cbfeaabf37d..4a4644b24ed 100644 --- a/sys/dev/mii/acphy.c +++ b/sys/dev/mii/acphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acphy.c,v 1.4 2005/02/05 04:28:23 brad Exp $ */ +/* $OpenBSD: acphy.c,v 1.5 2005/03/26 04:40:09 krw Exp $ */ /* $NetBSD: acphy.c,v 1.13 2003/04/29 01:49:33 thorpej Exp $ */ /* @@ -114,7 +114,7 @@ acphyattach(struct device *parent, struct device *self, void *aux) sc->mii_funcs = &acphy_funcs; sc->mii_pdata = mii; sc->mii_flags = ma->mii_flags; - sc->mii_anegticks = 5; + sc->mii_anegticks = MII_ANEGTICKS; PHY_RESET(sc); |