Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic All CORKSCREWs have MII.
details: https://anonhg.NetBSD.org/src/rev/54222dbb0d16
branches: trunk
changeset: 513263:54222dbb0d16
user: thorpej <thorpej%NetBSD.org@localhost>
date: Fri Jul 27 02:33:34 2001 +0000
description:
All CORKSCREWs have MII.
diffstat:
sys/dev/ic/elink3.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r 7704ac4ae734 -r 54222dbb0d16 sys/dev/ic/elink3.c
--- a/sys/dev/ic/elink3.c Fri Jul 27 02:13:26 2001 +0000
+++ b/sys/dev/ic/elink3.c Fri Jul 27 02:33:34 2001 +0000
@@ -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 @@
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 @@
}
/* FALLTHROUGH */
+ case ELINK_CHIPSET_CORKSCREW:
case ELINK_CHIPSET_BOOMERANG:
/*
* If the device has MII, probe it. We won't be using
Home |
Main Index |
Thread Index |
Old Index