Main Page | Data Structures | Directories | File List | Data Fields | Globals

ah_devid.h

Go to the documentation of this file.
00001 /*-
00002  * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting, Atheros
00003  * Communications, Inc.  All rights reserved.
00004  *
00005  * Redistribution and use in source and binary forms are permitted
00006  * provided that the following conditions are met:
00007  * 1. The materials contained herein are unmodified and are used
00008  *    unmodified.
00009  * 2. Redistributions of source code must retain the above copyright
00010  *    notice, this list of conditions and the following NO
00011  *    ''WARRANTY'' disclaimer below (''Disclaimer''), without
00012  *    modification.
00013  * 3. Redistributions in binary form must reproduce at minimum a
00014  *    disclaimer similar to the Disclaimer below and any redistribution
00015  *    must be conditioned upon including a substantially similar
00016  *    Disclaimer requirement for further binary redistribution.
00017  * 4. Neither the names of the above-listed copyright holders nor the
00018  *    names of any contributors may be used to endorse or promote
00019  *    product derived from this software without specific prior written
00020  *    permission.
00021  *
00022  * NO WARRANTY
00023  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00024  * ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00025  * LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT,
00026  * MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
00027  * IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE
00028  * FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
00029  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
00030  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
00031  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00032  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
00033  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
00034  * SUCH DAMAGES.
00035  *
00036  * $Id: ah_devid.h,v 1.1.1.1 2005/09/09 18:04:26 jbicket Exp $
00037  */
00038 
00039 #ifndef _DEV_ATH_DEVID_H_
00040 #define _DEV_ATH_DEVID_H_
00041 
00042 #define ATHEROS_VENDOR_ID       0x168c          /* Atheros PCI vendor ID */
00043 /*
00044  * NB: all Atheros-based devices should have a PCI vendor ID
00045  *     of 0x168c, but some vendors, in their infinite wisdom
00046  *     do not follow this so we must handle them specially.
00047  */
00048 #define ATHEROS_3COM_VENDOR_ID  0xa727          /* 3Com 3CRPAG175 vendor ID */
00049 #define ATHEROS_3COM2_VENDOR_ID 0x10b7          /* 3Com 3CRDAG675 vendor ID */
00050 
00051 /* AR5210 (for reference) */
00052 #define AR5210_DEFAULT          0x1107          /* No eeprom HW default */
00053 #define AR5210_PROD             0x0007          /* Final device ID */
00054 #define AR5210_AP               0x0207          /* Early AP11s */
00055 
00056 /* AR5211 */
00057 #define AR5211_DEFAULT          0x1112          /* No eeprom HW default */
00058 #define AR5311_DEVID            0x0011          /* Final ar5311 devid */
00059 #define AR5211_DEVID            0x0012          /* Final ar5211 devid */
00060 #define AR5211_LEGACY           0xff12          /* Original emulation board */
00061 #define AR5211_FPGA11B          0xf11b          /* 11b emulation board */
00062 
00063 /* AR5212 */
00064 #define AR5212_DEFAULT          0x1113          /* No eeprom HW default */
00065 #define AR5212_DEVID            0x0013          /* Final ar5212 devid */
00066 #define AR5212_FPGA             0xf013          /* Emulation board */
00067 #define AR5212_DEVID_IBM        0x1014          /* IBM minipci ID */
00068 #define AR5212_AR5312_REV2      0x0052          /* AR5312 WMAC (AP31) */
00069 #define AR5212_AR5312_REV7      0x0057          /* AR5312 WMAC (AP30-040) */
00070 #define AR5212_AR2313_REV8      0x0058          /* AR2313 WMAC (AP43-030) */
00071 
00072 /* AR5212 compatible devid's also attach to 5212 */
00073 #define AR5212_DEVID_0014       0x0014
00074 #define AR5212_DEVID_0015       0x0015
00075 #define AR5212_DEVID_0016       0x0016
00076 #define AR5212_DEVID_0017       0x0017
00077 #define AR5212_DEVID_0018       0x0018
00078 #define AR5212_DEVID_0019       0x0019
00079 #define AR5212_AR2413           0x001a          /* AR2413 aka Griffin-lite */
00080 
00081 /* AR5213 */
00082 #define AR5213_SREV_1_0         0x0055
00083 #define AR5213_SREV_REG         0x4020
00084 
00085 #define AR_SUBVENDOR_ID_NOG     0x0e11          /* No 11G subvendor ID */
00086 #define AR_SUBVENDOR_ID_NEW_A   0x7065          /* Update device to new RD */
00087 #endif /* _DEV_ATH_DEVID_H */

Generated on Mon Nov 21 15:58:10 2005 for openwifi by  doxygen 1.4.1