summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-05-31 22:13:48 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-05-31 22:13:48 +0000
commitf0a9a0b5f0b08003a1a125b4941e67cfcb7efd4b (patch)
treefafca359e0c86b8960a56e531246a66e59a489b7 /sys/dev
parent4e03d2064445c2c6ecfac5f60d80aed310c34cec (diff)
Enable "auto" mode so we at least have a chance of working. Otherwise,
we panic in ifmedia_set because ifmedia_match() fails.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/mii/ukphy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/ukphy.c b/sys/dev/mii/ukphy.c
index a797a5e25b8..035a5a5d2dd 100644
--- a/sys/dev/mii/ukphy.c
+++ b/sys/dev/mii/ukphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ukphy.c,v 1.1 1998/11/11 19:34:50 jason Exp $ */
+/* $OpenBSD: ukphy.c,v 1.2 1999/05/31 22:13:47 millert Exp $ */
/* $NetBSD: ukphy.c,v 1.1 1998/11/05 00:36:48 thorpej Exp $ */
/*-
@@ -141,7 +141,7 @@ ukphyattach(parent, self, aux)
#define ADD(m, c) ifmedia_add(&mii->mii_media, (m), (c), NULL)
- ADD(IFM_MAKEWORD(IFM_ETHER, IFM_NONE, 0, sc->mii_inst),
+ 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),