diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-11-23 22:02:58 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-11-23 22:02:58 +0000 |
commit | 094cf4d40e8e1ab538bae435e304f80d1a658fc1 (patch) | |
tree | c656949854624529ba29920c1f4a86a80f44ffba | |
parent | d6c6607df635185a10749b951e99de542d74ef6d (diff) |
Do not attach second port on dual port cards for now.
This makes the first port work.
ok brad@
-rw-r--r-- | sys/dev/pci/if_msk.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_msk.c b/sys/dev/pci/if_msk.c index 6a7e78d902f..16207e00b1b 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.24 2006/11/23 21:56:32 kettenis Exp $ */ +/* $OpenBSD: if_msk.c,v 1.25 2006/11/23 22:02:57 kettenis Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -1331,11 +1331,13 @@ mskc_attach(struct device *parent, struct device *self, void *aux) sc->sk_macs = 1; hw = sk_win_read_1(sc, SK_Y2_HWRES); +#if notyet if ((hw & SK_Y2_HWRES_LINK_MASK) == SK_Y2_HWRES_LINK_DUAL) { if ((sk_win_read_1(sc, SK_Y2_CLKGATE) & SK_Y2_CLKGATE_LINK2_INACTIVE) == 0) sc->sk_macs++; } +#endif skca.skc_port = SK_PORT_A; skca.skc_type = sc->sk_type; |