summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2001-07-27 02:33:34 +0000
committerthorpej <thorpej@NetBSD.org>2001-07-27 02:33:34 +0000
commitfe97433fcd64f0dbc68b6e9a4b659d85d3a76c27 (patch)
treeb55fed61a8d5c6c878e955cb10e82ae68a50e0c1 /sys/dev
parentf532a911f01522146a54b32c5924532ad2a5b5b6 (diff)
All CORKSCREWs have MII.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/elink3.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/ic/elink3.c b/sys/dev/ic/elink3.c
index fdc184954ed..fb564aea1b8 100644
--- a/sys/dev/ic/elink3.c
+++ b/sys/dev/ic/elink3.c
@@ -1,4 +1,4 @@
-/* $NetBSD: elink3.c,v 1.96 2001/07/20 05:44:48 thorpej Exp $ */
+/* $NetBSD: elink3.c,v 1.97 2001/07/27 02:33:34 thorpej Exp $ */
/*-
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -460,6 +460,12 @@ epconfig(sc, chipset, enaddr)
ep_media_status);
/*
+ * All CORKSCREW chips have MII.
+ */
+ if (sc->ep_chipset == ELINK_CHIPSET_CORKSCREW)
+ sc->ep_flags |= ELINK_FLAGS_MII;
+
+ /*
* Now, determine which media we have.
*/
switch (sc->ep_chipset) {
@@ -470,6 +476,7 @@ epconfig(sc, chipset, enaddr)
}
/* FALLTHROUGH */
+ case ELINK_CHIPSET_CORKSCREW:
case ELINK_CHIPSET_BOOMERANG:
/*
* If the device has MII, probe it. We won't be using