diff options
Diffstat (limited to 'sys/dev/ic/if_wi_ieee.h')
-rw-r--r-- | sys/dev/ic/if_wi_ieee.h | 201 |
1 files changed, 199 insertions, 2 deletions
diff --git a/sys/dev/ic/if_wi_ieee.h b/sys/dev/ic/if_wi_ieee.h index 4301b8921a9..0ed4d38e2a6 100644 --- a/sys/dev/ic/if_wi_ieee.h +++ b/sys/dev/ic/if_wi_ieee.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wi_ieee.h,v 1.12 2002/10/04 02:29:36 millert Exp $ */ +/* $OpenBSD: if_wi_ieee.h,v 1.13 2002/10/10 20:27:46 millert Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -709,4 +709,201 @@ struct wi_scan_p2_hdr { #define WI_RID_MAC_PROC_DELAY 0xFDC5 /* MAC processing delay time */ #define WI_RID_DATA_RATES 0xFDC6 /* supported data rates */ -#endif +/* Firmware types */ +#define WI_NOTYPE 0 +#define WI_LUCENT 1 +#define WI_INTERSIL 2 +#define WI_SYMBOL 3 + +/* Card identities */ +#define WI_NIC_LUCENT 0x0001 + +#define WI_NIC_SONY 0x0002 + +#define WI_NIC_LUCENT_EMB 0x0005 + +#define WI_NIC_EVB2 0x8000 + +#define WI_NIC_HWB3763 0x8001 + +#define WI_NIC_HWB3163 0x8002 + +#define WI_NIC_HWB3163B 0x8003 + +#define WI_NIC_EVB3 0x8004 + +#define WI_NIC_HWB1153 0x8007 + +#define WI_NIC_P2_SST 0x8008 /* Prism2 with SST flush */ + +#define WI_NIC_EVB2_SST 0x8009 + +#define WI_NIC_3842_EVA 0x800A /* 3842 Evaluation Board */ + +#define WI_NIC_3842_PCMCIA_AMD 0x800B /* Prism2.5 PCMCIA */ +#define WI_NIC_3842_PCMCIA_SST 0x800C +#define WI_NIC_3842_PCMCIA_ATL 0x800D +#define WI_NIC_3842_PCMCIA_ATS 0x800E + +#define WI_NIC_3842_MINI_AMD 0x8012 /* Prism2.5 Mini-PCI */ +#define WI_NIC_3842_MINI_SST 0x8013 +#define WI_NIC_3842_MINI_ATL 0x8014 +#define WI_NIC_3842_MINI_ATS 0x8015 + +#define WI_NIC_3842_PCI_AMD 0x8016 /* Prism2.5 PCI-bridge */ +#define WI_NIC_3842_PCI_SST 0x8017 +#define WI_NIC_3842_PCI_ATL 0x8018 +#define WI_NIC_3842_PCI_ATS 0x8019 + +#define WI_NIC_P3_PCMCIA_AMD 0x801A /* Prism3 PCMCIA */ +#define WI_NIC_P3_PCMCIA_SST 0x801B +#define WI_NIC_P3_PCMCIA_ATL 0x801C +#define WI_NIC_P3_PCMCIA_ATS 0x801D + +#define WI_NIC_P3_MINI_AMD 0x8021 /* Prism3 Mini-PCI */ +#define WI_NIC_P3_MINI_SST 0x8022 +#define WI_NIC_P3_MINI_ATL 0x8023 +#define WI_NIC_P3_MINI_ATS 0x8024 + +struct wi_card_ident { + const u_int16_t card_id; + const char *card_name; + const u_int8_t firm_type; +}; + +#define WI_CARD_IDS \ + { \ + htole16(WI_NIC_LUCENT), \ + "Lucent WaveLAN/IEEE", \ + WI_LUCENT \ + }, { \ + htole16(WI_NIC_SONY), \ + "Sony WaveLAN/IEEE", \ + WI_LUCENT \ + }, { \ + htole16(WI_NIC_LUCENT_EMB), \ + "Lucent Embedded WaveLAN/IEEE", \ + WI_LUCENT \ + }, { \ + htole16(WI_NIC_EVB2), \ + "PRISM2 HFA3841(EVB2)", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_HWB3763), \ + "PRISM2 HWB3763 rev.B", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_HWB3163), \ + "PRISM2 HWB3163 rev.A", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_HWB3163B), \ + "PRISM2 HWB3163 rev.B", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_EVB3), \ + "PRISM2 HFA3842(EVB3)", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_HWB1153), \ + "PRISM1 HWB1153", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_P2_SST), \ + "PRISM2 HWB3163 SST-flash", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_EVB2_SST), \ + "PRISM2 HWB3163(EVB2) SST-flash", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_3842_EVA), \ + "PRISM2 HFA3842(EVAL)", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_3842_PCMCIA_AMD), \ + "PRISM2.5 ISL3873", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_3842_PCMCIA_SST), \ + "PRISM2.5 ISL3873", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_3842_PCMCIA_ATL), \ + "PRISM2.5 ISL3873", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_3842_PCMCIA_ATS), \ + "PRISM2.5 ISL3873", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_3842_MINI_AMD), \ + "PRISM2.5 ISL3874A(Mini-PCI)", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_3842_MINI_SST), \ + "PRISM2.5 ISL3874A(Mini-PCI)", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_3842_MINI_ATL), \ + "PRISM2.5 ISL3874A(Mini-PCI)", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_3842_MINI_ATS), \ + "PRISM2.5 ISL3874A(Mini-PCI)", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_3842_PCI_AMD), \ + "PRISM2.5 ISL3874A(PCI-bridge)", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_3842_PCI_SST), \ + "PRISM2.5 ISL3874A(PCI-bridge)", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_3842_PCI_ATS), \ + "PRISM2.5 ISL3874A(PCI-bridge)", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_3842_PCI_ATL), \ + "PRISM2.5 ISL3874A(PCI-bridge)", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_P3_PCMCIA_AMD), \ + "PRISM3 ISL37300P", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_P3_PCMCIA_SST), \ + "PRISM3 ISL37300P", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_P3_PCMCIA_ATL), \ + "PRISM3 ISL37300P", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_P3_PCMCIA_ATS), \ + "PRISM3 ISL37300P", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_P3_MINI_AMD), \ + "PRISM3 ISL37300P(PCI)", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_P3_MINI_SST), \ + "PRISM3 ISL37300P(PCI)", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_P3_MINI_ATL), \ + "PRISM3 ISL37300P(PCI)", \ + WI_INTERSIL \ + }, { \ + htole16(WI_NIC_P3_MINI_ATS), \ + "PRISM3 ISL37300P(PCI)", \ + WI_INTERSIL \ + }, { \ + 0, \ + NULL, \ + WI_NOTYPE \ + } + +#endif /* _IF_WI_IEEE_H */ |