Re: unrecognized Prism III card

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Thu, 27 Mar 2003 23:41:40 -0700 (MST)
In message: <20030327072213.A89529_at_blackhelicopters.org>
            "Michael W . Lucas" <mwlucas_at_blackhelicopters.org> writes:
: Hi folks,
: 
: I picked up a couple of no-name Prism III cards, and found that
: FreeBSD-current doesn't recognize them.  Is there anything I can do to
: make these work?  (Up to and including shipping a card to a
: committer?)

Ship me a dozen :-)  At least tell me their name so I can do the
support right...

: Mar 27 07:14:35 pedicular kernel: pccard1: <unknown card> (manufacturer=0x50c2, product=0x7300) at function 0
: Mar 27 07:14:35 pedicular kernel: pccard1:    CIS info: WLAN, PRISM PCMCIA CARD, 37300P

However, short of that, let's try the following patch:

Warner

==== //depot/user/imp/newcard/dev/pccard/pccarddevs#16 - /dell/imp/p4/newcard/src/sys/dev/pccard/pccarddevs ====
_at__at_ -100,6 +100,7 _at__at_
 vendor LASAT			0x3401	Lasat Communications A/S
 vendor BONDWELL			0x3b01	Bondwell
 vendor LEXARMEDIA		0x4e01	Lexar Media
+vendor OEM1			0x50c2	OEM #1
 vendor ARCHOS			0x5241	Archos
 vendor DUAL			0x890f	Dual
 vendor EDIMAX			0x890f	Edimax Technology Inc.
_at__at_ -315,6 +316,9 _at__at_
 product NWN WLAN_550		0x0002 NWN 550 WLAN
 product NWN WLAN_1148		0x0003 NWN 1148 WLAN
 
+/* Mystery OEM #1 */
+product OEM1 PRISM3		0x7300 Prism 3 37300P
+
 /* Olicom Products */
 product OLICOM TR		0x2132 GoCard Token Ring 16/4
 
==== //depot/user/imp/newcard/dev/pccard/pccarddevs.h#16 - /dell/imp/p4/newcard/src/sys/dev/pccard/pccarddevs.h ====
_at__at_ -1,4 +1,4 _at__at_
-/*	$FreeBSD: src/sys/dev/pccard/pccarddevs.h,v 1.45 2003/03/18 02:37:25 imp Exp $	*/
+/*	$FreeBSD$	*/
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
_at__at_ -107,6 +107,7 _at__at_
 #define	PCMCIA_VENDOR_LASAT	0x3401	/* Lasat Communications A/S */
 #define	PCMCIA_VENDOR_BONDWELL	0x3b01	/* Bondwell */
 #define	PCMCIA_VENDOR_LEXARMEDIA	0x4e01	/* Lexar Media */
+#define	PCMCIA_VENDOR_OEM1	0x50c2	/* OEM #1 */
 #define	PCMCIA_VENDOR_ARCHOS	0x5241	/* Archos */
 #define	PCMCIA_VENDOR_DUAL	0x890f	/* Dual */
 #define	PCMCIA_VENDOR_EDIMAX	0x890f	/* Edimax Technology Inc. */
_at__at_ -540,6 +541,11 _at__at_
 #define	PCMCIA_PRODUCT_NWN_WLAN_1148	0x0003
 #define	PCMCIA_STR_NWN_WLAN_1148	"NWN 1148 WLAN"
 
+/* Mystery OEM #1 */
+#define	PCMCIA_CIS_OEM1_PRISM3	{ NULL, NULL, NULL, NULL }
+#define	PCMCIA_PRODUCT_OEM1_PRISM3	0x7300
+#define	PCMCIA_STR_OEM1_PRISM3	"Prism 3 37300P"
+
 /* Olicom Products */
 #define	PCMCIA_CIS_OLICOM_TR	{ NULL, NULL, NULL, NULL }
 #define	PCMCIA_PRODUCT_OLICOM_TR	0x2132
_at__at_ -744,39 +750,39 _at__at_
 /*
  * Cards we know only by their cis, sorted by name.
  */
-#define	PCMCIA_VENDOR_AMBICOM	-1	/* AmbiCom Inc */
-#define	PCMCIA_VENDOR_ACCTON	-1	/* ACCTON */
-#define	PCMCIA_VENDOR_ADDTRON	-1	/* Addtron */
-#define	PCMCIA_VENDOR_ARGOSY	-1	/* ARGOSY */
-#define	PCMCIA_VENDOR_AMD	-1	/* AMD */
-#define	PCMCIA_VENDOR_BILLIONTON	-1	/* Billionton Systems Inc. */
-#define	PCMCIA_VENDOR_CNET	-1	/* CNet */
-#define	PCMCIA_VENDOR_DIGITAL	-1	/* Digital Equipment Corporation */
-#define	PCMCIA_VENDOR_DLINK	-1	/* D-Link */
-#define	PCMCIA_VENDOR_DYNALINK	-1	/* DynaLink */
-#define	PCMCIA_VENDOR_EIGERLABS	-1	/* Eiger labs,Inc. */
-#define	PCMCIA_VENDOR_EPSON	-1	/* Seiko Epson Corporation */
-#define	PCMCIA_VENDOR_EXP	-1	/* EXP Computer Inc */
-#define	PCMCIA_VENDOR_FUTUREDOMAIN	-1	/* FutureDomain */
-#define	PCMCIA_VENDOR_GEMTEK	-1	/* Gem Tek */
-#define	PCMCIA_VENDOR_ICOM	-1	/* ICOM Inc */
-#define	PCMCIA_VENDOR_INTERSIL	-1	/* Intersil */
-#define	PCMCIA_VENDOR_IODATA3	-1	/* I-O DATA */
-#define	PCMCIA_VENDOR_LANTECH	-1	/* Lantech Computer Company */
-#define	PCMCIA_VENDOR_NAKAGAWAMETAL	-1	/* NAKAGAWA METAL */
-#define	PCMCIA_VENDOR_NDC	-1	/* NDC */
-#define	PCMCIA_VENDOR_NEC	-1	/* NEC */
-#define	PCMCIA_VENDOR_PLANET	-1	/* Planet */
-#define	PCMCIA_VENDOR_PLANEX	-1	/* Planex Communications Inc */
-#define	PCMCIA_VENDOR_PREMAX	-1	/* Premax */
-#define	PCMCIA_VENDOR_RPTI	-1	/* RPTI */
-#define	PCMCIA_VENDOR_SVEC	-1	/* SVEC/Hawking Technology */
-#define	PCMCIA_VENDOR_SYNERGY21	-1	/* Synergy 21 */
-#define	PCMCIA_VENDOR_TEAC	-1	/* TEAC */
-#define	PCMCIA_VENDOR_WORKBIT2	-1	/* WORKBIT */
-#define	PCMCIA_VENDOR_YEDATA	-1	/* Y-E DATA */
-#define	PCMCIA_VENDOR_YIS	-1	/* YIS Corporation */
-#define	PCMCIA_VENDOR_ZOOM	-1	/* ZOOM */
+#define	PCMCIA_VENDOR_AMBICOM	0xffffffff	/* AmbiCom Inc */
+#define	PCMCIA_VENDOR_ACCTON	0xffffffff	/* ACCTON */
+#define	PCMCIA_VENDOR_ADDTRON	0xffffffff	/* Addtron */
+#define	PCMCIA_VENDOR_ARGOSY	0xffffffff	/* ARGOSY */
+#define	PCMCIA_VENDOR_AMD	0xffffffff	/* AMD */
+#define	PCMCIA_VENDOR_BILLIONTON	0xffffffff	/* Billionton Systems Inc. */
+#define	PCMCIA_VENDOR_CNET	0xffffffff	/* CNet */
+#define	PCMCIA_VENDOR_DIGITAL	0xffffffff	/* Digital Equipment Corporation */
+#define	PCMCIA_VENDOR_DLINK	0xffffffff	/* D-Link */
+#define	PCMCIA_VENDOR_DYNALINK	0xffffffff	/* DynaLink */
+#define	PCMCIA_VENDOR_EIGERLABS	0xffffffff	/* Eiger labs,Inc. */
+#define	PCMCIA_VENDOR_EPSON	0xffffffff	/* Seiko Epson Corporation */
+#define	PCMCIA_VENDOR_EXP	0xffffffff	/* EXP Computer Inc */
+#define	PCMCIA_VENDOR_FUTUREDOMAIN	0xffffffff	/* FutureDomain */
+#define	PCMCIA_VENDOR_GEMTEK	0xffffffff	/* Gem Tek */
+#define	PCMCIA_VENDOR_ICOM	0xffffffff	/* ICOM Inc */
+#define	PCMCIA_VENDOR_INTERSIL	0xffffffff	/* Intersil */
+#define	PCMCIA_VENDOR_IODATA3	0xffffffff	/* I-O DATA */
+#define	PCMCIA_VENDOR_LANTECH	0xffffffff	/* Lantech Computer Company */
+#define	PCMCIA_VENDOR_NAKAGAWAMETAL	0xffffffff	/* NAKAGAWA METAL */
+#define	PCMCIA_VENDOR_NDC	0xffffffff	/* NDC */
+#define	PCMCIA_VENDOR_NEC	0xffffffff	/* NEC */
+#define	PCMCIA_VENDOR_PLANET	0xffffffff	/* Planet */
+#define	PCMCIA_VENDOR_PLANEX	0xffffffff	/* Planex Communications Inc */
+#define	PCMCIA_VENDOR_PREMAX	0xffffffff	/* Premax */
+#define	PCMCIA_VENDOR_RPTI	0xffffffff	/* RPTI */
+#define	PCMCIA_VENDOR_SVEC	0xffffffff	/* SVEC/Hawking Technology */
+#define	PCMCIA_VENDOR_SYNERGY21	0xffffffff	/* Synergy 21 */
+#define	PCMCIA_VENDOR_TEAC	0xffffffff	/* TEAC */
+#define	PCMCIA_VENDOR_WORKBIT2	0xffffffff	/* WORKBIT */
+#define	PCMCIA_VENDOR_YEDATA	0xffffffff	/* Y-E DATA */
+#define	PCMCIA_VENDOR_YIS	0xffffffff	/* YIS Corporation */
+#define	PCMCIA_VENDOR_ZOOM	0xffffffff	/* ZOOM */
 
 #define	PCMCIA_CIS_ACCTON_EN2212	{ "ACCTON", "EN2212", NULL, NULL }
 #define	PCMCIA_PRODUCT_ACCTON_EN2212	0xffffffff
_at__at_ -785,13 +791,13 _at__at_
 #define	PCMCIA_PRODUCT_ACCTON_EN2216	0xffffffff
 #define	PCMCIA_STR_ACCTON_EN2216	"Accton EN2216"
 #define	PCMCIA_CIS_ACCTON_EN2226	{ "Accton", "Fast EtherCard-16", "EN2226", "1.00" }
-#define	PCMCIA_PRODUCT_ACCTON_EN2226	-1
+#define	PCMCIA_PRODUCT_ACCTON_EN2226	0xffffffff
 #define	PCMCIA_STR_ACCTON_EN2226	"Accton EN2226"
 #define	PCMCIA_CIS_ADDTRON_AWP100	{ "Addtron", "AWP-100 Wireless PCMCIA", "Version 01.02", NULL }
 #define	PCMCIA_PRODUCT_ADDTRON_AWP100	0xffffffff
 #define	PCMCIA_STR_ADDTRON_AWP100	""
 #define	PCMCIA_CIS_ALLIEDTELESIS_WR211PCM	{ "Allied Telesis K.K.", "WR211PCM", NULL, NULL }
-#define	PCMCIA_PRODUCT_ALLIEDTELESIS_WR211PCM	-1
+#define	PCMCIA_PRODUCT_ALLIEDTELESIS_WR211PCM	0xffffffff
 #define	PCMCIA_STR_ALLIEDTELESIS_WR211PCM	"Allied Telesis WR211PCM"
 #define	PCMCIA_CIS_AMBICOM_AMB8002T	{ "AmbiCom Inc", "AMB8002T", NULL, NULL }
 #define	PCMCIA_PRODUCT_AMBICOM_AMB8002T	0xffffffff
_at__at_ -855,7 +861,7 _at__at_
 #define	PCMCIA_PRODUCT_DLINK_DFE670TXD	0xffffffff
 #define	PCMCIA_STR_DLINK_DFE670TXD	"D-Link DFE-670TXD"
 #define	PCMCIA_CIS_DLINK_DWL650H	{ "D-Link Corporation", "D-Link DWL-650H 11Mbps WLAN Adapter", NULL, NULL }
-#define	PCMCIA_PRODUCT_DLINK_DWL650H	-1
+#define	PCMCIA_PRODUCT_DLINK_DWL650H	0xffffffff
 #define	PCMCIA_STR_DLINK_DWL650H	"D-Link DWL-650H"
 #define	PCMCIA_CIS_DYNALINK_L10C	{ "DYNALINK", "L10C", NULL, NULL }
 #define	PCMCIA_PRODUCT_DYNALINK_L10C	0xffffffff
_at__at_ -871,7 +877,7 _at__at_
 #define	PCMCIA_PRODUCT_EPSON_EEN10B	0xffffffff
 #define	PCMCIA_STR_EPSON_EEN10B	"Epson EEN10B"
 #define	PCMCIA_CIS_EPSON_SC200	{ "EPSON", "SCSI-2 PC Card SC200", NULL, NULL }
-#define	PCMCIA_PRODUCT_EPSON_SC200	-1
+#define	PCMCIA_PRODUCT_EPSON_SC200	0xffffffff
 #define	PCMCIA_STR_EPSON_SC200	"Media Intelligent SCSI-2 PC Card MSC-200"
 #define	PCMCIA_CIS_EXP_EXPMULTIMEDIA	{ "EXP   ", "PnPIDE", "F1", NULL }
 #define	PCMCIA_PRODUCT_EXP_EXPMULTIMEDIA	0xffffffff
_at__at_ -889,13 +895,13 _at__at_
 #define	PCMCIA_PRODUCT_FUJITSU_ITCFJ182A	0xffffffff
 #define	PCMCIA_STR_FUJITSU_ITCFJ182A	"FUJITSU ITCFJ182A CompactCard"
 #define	PCMCIA_CIS_FUTUREDOMAIN_SCSI2GO	{ "Future Domain Corporation" "SCSI PCMCIA Credit Card Controller", NULL, NULL }
-#define	PCMCIA_PRODUCT_FUTUREDOMAIN_SCSI2GO	-1
+#define	PCMCIA_PRODUCT_FUTUREDOMAIN_SCSI2GO	0xffffffff
 #define	PCMCIA_STR_FUTUREDOMAIN_SCSI2GO	"Future Domain SCSI2GO"
 #define	PCMCIA_CIS_GEMTEK_WLAN	{ "Intersil", "PRISM 2_5 PCMCIA ADAPTER", "ISL37300P", "Eval-RevA" }
 #define	PCMCIA_PRODUCT_GEMTEK_WLAN	0xffffffff
 #define	PCMCIA_STR_GEMTEK_WLAN	"GEMTEK Prism2_5 WaveLAN Card"
 #define	PCMCIA_CIS_IBM_SCSICARD	{ "IBM Corp.", "SCSI PCMCIA Card", NULL, NULL }
-#define	PCMCIA_PRODUCT_IBM_SCSICARD	-1
+#define	PCMCIA_PRODUCT_IBM_SCSICARD	0xffffffff
 #define	PCMCIA_STR_IBM_SCSICARD	"IBM SCSI PCMCIA Card"
 #define	PCMCIA_CIS_ICOM_SL200	{ "Icom", "SL-200", NULL, NULL }
 #define	PCMCIA_PRODUCT_ICOM_SL200	0xffffffff
_at__at_ -907,7 +913,7 _at__at_
 #define	PCMCIA_PRODUCT_IODATA_CBIDE2	0xffffffff
 #define	PCMCIA_STR_IODATA_CBIDE2	"IO-DATA CBIDE2/16-bit mode"
 #define	PCMCIA_CIS_IODATA3_CBSC16	{ "IO DATA", "CBSC16       ", NULL, NULL }
-#define	PCMCIA_PRODUCT_IODATA3_CBSC16	-1
+#define	PCMCIA_PRODUCT_IODATA3_CBSC16	0xffffffff
 #define	PCMCIA_STR_IODATA3_CBSC16	"IO-DATA CBSC16"
 #define	PCMCIA_CIS_IODATA_PCLAT	{ "I-O DATA", "PCLA", "ETHERNET", NULL }
 #define	PCMCIA_PRODUCT_IODATA_PCLAT	0xffffffff
_at__at_ -922,7 +928,7 _at__at_
 #define	PCMCIA_PRODUCT_LINKSYS_PCM100	0xffffffff
 #define	PCMCIA_STR_LINKSYS_PCM100	""
 #define	PCMCIA_CIS_MACNICA_MPS100	{ "MACNICA", "MIRACLE SCSI", "mPS100", "D.0" }
-#define	PCMCIA_PRODUCT_MACNICA_MPS100	-1
+#define	PCMCIA_PRODUCT_MACNICA_MPS100	0xffffffff
 #define	PCMCIA_STR_MACNICA_MPS100	"Macnica Miracle SCSI mPS100"
 #define	PCMCIA_CIS_MEGAHERTZ_XJ2288	{ "MEGAHERTZ", "MODEM XJ2288", NULL, NULL }
 #define	PCMCIA_PRODUCT_MEGAHERTZ_XJ2288	0xffffffff
_at__at_ -943,10 +949,10 _at__at_
 #define	PCMCIA_PRODUCT_NEC_CMZ_RT_WP	0xffffffff
 #define	PCMCIA_STR_NEC_CMZ_RT_WP	"NEC Wireless Card CMZ-RT-WP"
 #define	PCMCIA_CIS_NEC_PC9801N_J03R	{ "NEC", "PC-9801N-J03R", NULL, NULL }
-#define	PCMCIA_PRODUCT_NEC_PC9801N_J03R	-1
+#define	PCMCIA_PRODUCT_NEC_PC9801N_J03R	0xffffffff
 #define	PCMCIA_STR_NEC_PC9801N_J03R	"NEC PC-9801N-J03R"
 #define	PCMCIA_CIS_NEWMEDIA_BASICS_SCSI	{ "BASICS by New Media Corporation" "SCSI Sym53C500", NULL, NULL }
-#define	PCMCIA_PRODUCT_NEWMEDIA_BASICS_SCSI	-1
+#define	PCMCIA_PRODUCT_NEWMEDIA_BASICS_SCSI	0xffffffff
 #define	PCMCIA_STR_NEWMEDIA_BASICS_SCSI	"New Media Corporation BASICS SCSI"
 #define	PCMCIA_CIS_NTT_ME_WLAN	{ "NTT-ME", "11Mbps Wireless LAN PC Card", NULL, NULL }
 #define	PCMCIA_PRODUCT_NTT_ME_WLAN	0xffffffff
_at__at_ -974,22 +980,22 _at__at_
 #define	PCMCIA_PRODUCT_PREMAX_PE200	0xffffffff
 #define	PCMCIA_STR_PREMAX_PE200	"PreMax PE-200"
 #define	PCMCIA_CIS_RATOC_REX_R280	{ "RATOC System Inc.", "10BASE_T CARD R280", NULL, NULL }
-#define	PCMCIA_PRODUCT_RATOC_REX_R280	-1
+#define	PCMCIA_PRODUCT_RATOC_REX_R280	0xffffffff
 #define	PCMCIA_STR_RATOC_REX_R280	"RATOC REX-R280"
 #define	PCMCIA_CIS_RATOC_REX5536	{ "1195 RATOC System Inc.", "REX5536 SCSI2 CARD", NULL, NULL }
-#define	PCMCIA_PRODUCT_RATOC_REX5536	-1
+#define	PCMCIA_PRODUCT_RATOC_REX5536	0xffffffff
 #define	PCMCIA_STR_RATOC_REX5536	"RATOC REX-5536"
 #define	PCMCIA_CIS_RATOC_REX5536AM	{ "PCMCIA SCSI MBH10404", "01", NULL, NULL }
-#define	PCMCIA_PRODUCT_RATOC_REX5536AM	-1
+#define	PCMCIA_PRODUCT_RATOC_REX5536AM	0xffffffff
 #define	PCMCIA_STR_RATOC_REX5536AM	"RATOC REX-5536AM"
 #define	PCMCIA_CIS_RATOC_REX5536M	{ "PCMCIA SCSI2 CARD", "01", NULL, NULL }
-#define	PCMCIA_PRODUCT_RATOC_REX5536M	-1
+#define	PCMCIA_PRODUCT_RATOC_REX5536M	0xffffffff
 #define	PCMCIA_STR_RATOC_REX5536M	"RATOC REX-5536M"
 #define	PCMCIA_CIS_RATOC_REX5572	{ "RATOC System Inc.", "SOUND/SCSI2 CARD", NULL, NULL }
-#define	PCMCIA_PRODUCT_RATOC_REX5572	-1
+#define	PCMCIA_PRODUCT_RATOC_REX5572	0xffffffff
 #define	PCMCIA_STR_RATOC_REX5572	"RATOC REX-5572"
 #define	PCMCIA_CIS_RATOC_REX9530	{ "RATOC System Inc.", "SCSI2 CARD 37", NULL, NULL }
-#define	PCMCIA_PRODUCT_RATOC_REX9530	-1
+#define	PCMCIA_PRODUCT_RATOC_REX9530	0xffffffff
 #define	PCMCIA_STR_RATOC_REX9530	"RATOC REX-9530"
 #define	PCMCIA_CIS_SIMPLETECH_SPECTRUM24_ALT	{ "Symbol Technologies", "LA4111 Spectrum24 Wireless LAN PC Card", NULL, NULL }
 #define	PCMCIA_PRODUCT_SIMPLETECH_SPECTRUM24_ALT	0xffffffff
_at__at_ -1017,7 +1023,7 _at__at_
 #define	PCMCIA_PRODUCT_TEAC_IDECARDII	0xffffffff
 #define	PCMCIA_STR_TEAC_IDECARDII	"TEAC IDE Card/II"
 #define	PCMCIA_CIS_WORKBIT2_NINJA_SCSI3	{ "WBT", "NinjaSCSI-3", NULL, NULL }
-#define	PCMCIA_PRODUCT_WORKBIT2_NINJA_SCSI3	-1
+#define	PCMCIA_PRODUCT_WORKBIT2_NINJA_SCSI3	0xffffffff
 #define	PCMCIA_STR_WORKBIT2_NINJA_SCSI3	"WORKBIT Ninja SCSI series"
 #define	PCMCIA_CIS_XIRCOM_CFE_10	{ "Xircom", "CompactCard Ethernet", "CFE-10", "1.00" }
 #define	PCMCIA_PRODUCT_XIRCOM_CFE_10	0xffffffff
_at__at_ -1026,7 +1032,7 _at__at_
 #define	PCMCIA_PRODUCT_YEDATA_EXTERNAL_FDD	0xffffffff
 #define	PCMCIA_STR_YEDATA_EXTERNAL_FDD	"Y-E DATA External FDD"
 #define	PCMCIA_CIS_YIS_YWL11B	{ "YIS Corp.", "YWL-11b", NULL, NULL }
-#define	PCMCIA_PRODUCT_YIS_YWL11B	-1
+#define	PCMCIA_PRODUCT_YIS_YWL11B	0xffffffff
 #define	PCMCIA_STR_YIS_YWL11B	"YIS Corp. YWL-11b"
 #define	PCMCIA_CIS_ZOOM_AIR_4000	{ "Zoom", "Air-4000", NULL, NULL }
 #define	PCMCIA_PRODUCT_ZOOM_AIR_4000	0xffffffff
==== //depot/user/imp/newcard/dev/wi/if_wi_pccard.c#13 - /dell/imp/p4/newcard/src/sys/dev/wi/if_wi_pccard.c ====
_at__at_ -160,6 +160,7 _at__at_
 	PCMCIA_CARD(LUCENT, WAVELAN_IEEE, 0),
 	PCMCIA_CARD(NETGEAR_2, MA401RA, 0),
 	PCMCIA_CARD(NOKIA, C110_WLAN, 0),
+	PCMCIA_CARD(OEM1, PRISM3, 0),
 	PCMCIA_CARD(PLANEX_2, GWNS11H, 0),
 	PCMCIA_CARD(PROXIM, RANGELANDS_8430, 0),
 	PCMCIA_CARD(SAMSUNG, SWL_2000N, 0),
Received on Thu Mar 27 2003 - 21:42:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:02 UTC