diff options
author | 2005-03-26 04:40:09 +0000 | |
---|---|---|
committer | 2005-03-26 04:40:09 +0000 | |
commit | cf4a2375e51e30f2c27b0271a919be45e933c743 (patch) | |
tree | 41ee174e9aa25a37b511dd3f6efd79394f877529 /sys/dev/mii/bmtphy.c | |
parent | More cleanup. Nuke isalphanumeric() and assume anything that (diff) | |
download | wireguard-openbsd-cf4a2375e51e30f2c27b0271a919be45e933c743.tar.xz wireguard-openbsd-cf4a2375e51e30f2c27b0271a919be45e933c743.zip |
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/bmtphy.c')
-rw-r--r-- | sys/dev/mii/bmtphy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/bmtphy.c b/sys/dev/mii/bmtphy.c index 838f58a5152..991170e90fe 100644 --- a/sys/dev/mii/bmtphy.c +++ b/sys/dev/mii/bmtphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bmtphy.c,v 1.12 2005/02/04 23:23:56 brad Exp $ */ +/* $OpenBSD: bmtphy.c,v 1.13 2005/03/26 04:40:09 krw Exp $ */ /* $NetBSD: bmtphy.c,v 1.17 2005/01/17 13:17:45 scw Exp $ */ /*- @@ -114,7 +114,7 @@ bmtphyattach(struct device *parent, struct device *self, void *aux) sc->mii_funcs = &bmtphy_funcs; sc->mii_pdata = mii; sc->mii_flags = ma->mii_flags; - sc->mii_anegticks = 5; + sc->mii_anegticks = MII_ANEGTICKS; PHY_RESET(sc); |