summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-28 17:41:03 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-28 17:41:03 +0000
commitf8d04b8558479f481f380a7c4c76e010048394f5 (patch)
tree5f34dfb385b614617992cf76248ccf3bf8b9e8d3
parent8393408cf4f14b3eddf634084f3362cc4703831e (diff)
recognize isl37300p as a prism2.5, for niels baby
-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 c4c5724f2ec..a8bf19ceeb1 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.23 2002/03/26 18:59:11 millert Exp $ */
+/* $OpenBSD: if_wi.c,v 1.24 2002/03/28 17:41:02 mickey Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -122,7 +122,7 @@ u_int32_t widebug = WIDEBUG;
#if !defined(lint) && !defined(__OpenBSD__)
static const char rcsid[] =
- "$OpenBSD: if_wi.c,v 1.23 2002/03/26 18:59:11 millert Exp $";
+ "$OpenBSD: if_wi.c,v 1.24 2002/03/28 17:41:02 mickey Exp $";
#endif /* lint */
#ifdef foo
@@ -1664,6 +1664,10 @@ wi_get_id(sc, print_cis)
p = "PRISM 2.5 ISL3874A(PCI)";
sc->sc_prism2 = 1;
break;
+ case WI_NIC_37300P:
+ p = "PRISM 2.5 ISL37300P";
+ 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 d3aabfbf739..9c94588db8d 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.12 2002/03/26 20:42:51 millert Exp $ */
+/* $OpenBSD: if_wireg.h,v 1.13 2002/03/28 17:41:02 mickey Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -377,6 +377,7 @@ struct wi_ltv_ver {
#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 */
+#define WI_NIC_37300P 0x801a
};
/*