summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-11-25 16:26:18 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-11-25 16:26:18 +0000
commitd845014b7d5a3b3cdb5441166055f3dea7ea5f56 (patch)
tree621e1cda974766782018b483e6714679630b94c6 /sys/dev/pci
parent2b8603a832c3250b40f3925789ac42d908287205 (diff)
remove some sk(4) specific media handling code.
ok kettenis@ Tested with Yukon-2 EC and Yukon-2 XL.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_msk.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/pci/if_msk.c b/sys/dev/pci/if_msk.c
index 16207e00b1b..da5d602a5cf 100644
--- a/sys/dev/pci/if_msk.c
+++ b/sys/dev/pci/if_msk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_msk.c,v 1.25 2006/11/23 22:02:57 kettenis Exp $ */
+/* $OpenBSD: if_msk.c,v 1.26 2006/11/25 16:26:17 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -1249,9 +1249,7 @@ mskc_attach(struct device *parent, struct device *self, void *aux)
/* Read and save physical media type */
sc->sk_pmd = sk_win_read_1(sc, SK_PMDTYPE);
- if (sc->sk_pmd == 'T' || sc->sk_pmd == '1' ||
- (SK_IS_YUKON2(sc) && !(sc->sk_pmd == 'L' ||
- sc->sk_pmd == 'S')))
+ if (!(sc->sk_pmd == 'L' || sc->sk_pmd == 'S'))
sc->sk_coppertype = 1;
else
sc->sk_coppertype = 0;