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/nsphy.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/nsphy.c')
-rw-r--r-- | sys/dev/mii/nsphy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/nsphy.c b/sys/dev/mii/nsphy.c index a364a57db9e..03ea1b3cc12 100644 --- a/sys/dev/mii/nsphy.c +++ b/sys/dev/mii/nsphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nsphy.c,v 1.18 2005/02/19 06:00:04 brad Exp $ */ +/* $OpenBSD: nsphy.c,v 1.19 2005/03/26 04:40:09 krw Exp $ */ /* $NetBSD: nsphy.c,v 1.25 2000/02/02 23:34:57 thorpej Exp $ */ /*- @@ -143,7 +143,7 @@ nsphyattach(struct device *parent, struct device *self, void *aux) sc->mii_funcs = &nsphy_funcs; sc->mii_pdata = mii; sc->mii_flags = ma->mii_flags; - sc->mii_anegticks = 5; + sc->mii_anegticks = MII_ANEGTICKS; PHY_RESET(sc); |