summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-10-25 16:39:26 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-10-25 16:39:26 +0000
commit82a99acf5a2207eb5e02e63c5ea5389d0a40c347 (patch)
tree45db0add57f0302a16b92060155608516ffbe6a1
parent769593e6a28f837c00ccd047014113ca603e5d1d (diff)
add prism2.5 mini-pci nic id
-rw-r--r--sys/dev/ic/if_wi.c8
-rw-r--r--sys/dev/ic/if_wireg.h3
2 files changed, 8 insertions, 3 deletions
diff --git a/sys/dev/ic/if_wi.c b/sys/dev/ic/if_wi.c
index 24dea3e130f..931775862b4 100644
--- a/sys/dev/ic/if_wi.c
+++ b/sys/dev/ic/if_wi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi.c,v 1.16 2001/07/08 23:38:05 fgsch Exp $ */
+/* $OpenBSD: if_wi.c,v 1.17 2001/10/25 16:39:25 mickey Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -120,7 +120,7 @@ u_int32_t widebug = WIDEBUG;
#if !defined(lint) && !defined(__OpenBSD__)
static const char rcsid[] =
- "$OpenBSD: if_wi.c,v 1.16 2001/07/08 23:38:05 fgsch Exp $";
+ "$OpenBSD: if_wi.c,v 1.17 2001/10/25 16:39:25 mickey Exp $";
#endif /* lint */
#ifdef foo
@@ -1573,6 +1573,10 @@ wi_get_id(sc, print_cis)
p = "PRISM 2.5 ISL3873";
sc->sc_prism2 = 1;
break;
+ case WI_NIC_3874A:
+ p = "PRISM 2.5 ISL3874A(PCI)";
+ sc->sc_prism2 = 1;
+ break;
default:
p = "Lucent chip or unknown chip";
sc->sc_prism2 = 0;
diff --git a/sys/dev/ic/if_wireg.h b/sys/dev/ic/if_wireg.h
index d89107047d8..ad5bd7ea6ec 100644
--- a/sys/dev/ic/if_wireg.h
+++ b/sys/dev/ic/if_wireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wireg.h,v 1.5 2001/06/25 18:04:23 drahn Exp $ */
+/* $OpenBSD: if_wireg.h,v 1.6 2001/10/25 16:39:25 mickey Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -346,6 +346,7 @@ struct wi_ltv_ver {
#define WI_NIC_HWB1153 0x8007
#define WI_NIC_P2_SST 0x8008 /* Prism2 with SST flush */
#define WI_NIC_PRISM2_5 0x800C
+#define WI_NIC_3874A 0x8013 /* Prism2.5 Mini-PCI */
};
/*