diff options
author | 1999-10-13 19:32:49 +0000 | |
---|---|---|
committer | 1999-10-13 19:32:49 +0000 | |
commit | 494f5aa0835cf4e0b4213bae1718be41bc7ae08c (patch) | |
tree | b4bdff951d9a539e4b70d1c187b1e7bdf05db987 | |
parent | age_old_log() now takes an int * as a parameter so it can return -1 (diff) | |
download | wireguard-openbsd-494f5aa0835cf4e0b4213bae1718be41bc7ae08c.tar.xz wireguard-openbsd-494f5aa0835cf4e0b4213bae1718be41bc7ae08c.zip |
manually add IFM_AUTO (workaround for fxp)
-rw-r--r-- | sys/dev/mii/iophy.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/mii/iophy.c b/sys/dev/mii/iophy.c index 9de29886912..a240e76e914 100644 --- a/sys/dev/mii/iophy.c +++ b/sys/dev/mii/iophy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iophy.c,v 1.2 1999/10/12 17:08:56 deraadt Exp $ */ +/* $OpenBSD: iophy.c,v 1.3 1999/10/13 19:32:49 jason Exp $ */ /* $NetBSD: iophy.c,v 1.1 1999/09/05 00:40:27 soren Exp $ */ /* @@ -150,6 +150,8 @@ iophyattach(parent, self, aux) ADD(IFM_MAKEWORD(IFM_ETHER, IFM_NONE, 0, sc->mii_inst), BMCR_ISO); + ADD(IFM_MAKEWORD(IFM_ETHER, IFM_AUTO, 0, sc->mii_inst), + BMCR_ISO); #if 0 ADD(IFM_MAKEWORD(IFM_ETHER, IFM_100_TX, IFM_LOOP, sc->mii_inst), BMCR_LOOP|BMCR_S100); |