summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_de.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-06-26 01:38:40 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-06-26 01:38:40 +0000
commit41435d050820687ca2152a3e15c94d3ade75068e (patch)
tree92003182b9b542c63ea727908e2c28df831d2da1 /sys/dev/pci/if_de.c
parent0ccafa8316f183c5e8a15fd2af7f8be97d75d0f1 (diff)
remove one more piece of the media detection from SRM code.
Diffstat (limited to 'sys/dev/pci/if_de.c')
-rw-r--r--sys/dev/pci/if_de.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/dev/pci/if_de.c b/sys/dev/pci/if_de.c
index 75847b36c09..91cb428e1d8 100644
--- a/sys/dev/pci/if_de.c
+++ b/sys/dev/pci/if_de.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_de.c,v 1.72 2005/06/20 22:44:39 martin Exp $ */
+/* $OpenBSD: if_de.c,v 1.73 2005/06/26 01:38:39 brad Exp $ */
/* $NetBSD: if_de.c,v 1.45 1997/06/09 00:34:18 thorpej Exp $ */
/*-
@@ -4806,15 +4806,6 @@ tulip_attach(
== TULIP_HAVE_ISVSROM ? " (invalid EESPROM checksum)" : "",
TULIP_EADDR_ARGS(sc->tulip_enaddr));
-#if defined(__alpha__)
- /*
- * In case the SRM console told us about a bogus media,
- * we need to check to be safe.
- */
- if (sc->tulip_mediums[sc->tulip_media] == NULL)
- sc->tulip_media = TULIP_MEDIA_UNKNOWN;
-#endif
-
(*sc->tulip_boardsw->bd_media_probe)(sc);
#if defined(IFM_ETHER)
ifmedia_init(&sc->tulip_ifmedia, 0,