1b7d5e03cSMatthew Dillon /* 2b7d5e03cSMatthew Dillon * Copyright (c) 2012, Qualcomm Atheros, Inc. All rights reserved. 3b7d5e03cSMatthew Dillon * 4b7d5e03cSMatthew Dillon * Redistribution and use in source and binary forms are permitted 5b7d5e03cSMatthew Dillon * provided that the following conditions are met: 6b7d5e03cSMatthew Dillon * 1. The materials contained herein are unmodified and are used 7b7d5e03cSMatthew Dillon * unmodified. 8b7d5e03cSMatthew Dillon * 2. Redistributions of source code must retain the above copyright 9b7d5e03cSMatthew Dillon * notice, this list of conditions and the following NO 10b7d5e03cSMatthew Dillon * ''WARRANTY'' disclaimer below (''Disclaimer''), without 11b7d5e03cSMatthew Dillon * modification. 12b7d5e03cSMatthew Dillon * 3. Redistributions in binary form must reproduce at minimum a 13b7d5e03cSMatthew Dillon * disclaimer similar to the Disclaimer below and any redistribution 14b7d5e03cSMatthew Dillon * must be conditioned upon including a substantially similar 15b7d5e03cSMatthew Dillon * Disclaimer requirement for further binary redistribution. 16b7d5e03cSMatthew Dillon * 4. Neither the names of the above-listed copyright holders nor the 17b7d5e03cSMatthew Dillon * names of any contributors may be used to endorse or promote 18b7d5e03cSMatthew Dillon * product derived from this software without specific prior written 19b7d5e03cSMatthew Dillon * permission. 20b7d5e03cSMatthew Dillon * 21b7d5e03cSMatthew Dillon * NO WARRANTY 22b7d5e03cSMatthew Dillon * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 23b7d5e03cSMatthew Dillon * ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 24b7d5e03cSMatthew Dillon * LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, 25*df052c2aSSascha Wildner * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 26b7d5e03cSMatthew Dillon * IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE 27b7d5e03cSMatthew Dillon * FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 28b7d5e03cSMatthew Dillon * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 29b7d5e03cSMatthew Dillon * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 30b7d5e03cSMatthew Dillon * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 31b7d5e03cSMatthew Dillon * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 32b7d5e03cSMatthew Dillon * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33b7d5e03cSMatthew Dillon * SUCH DAMAGES. 34b7d5e03cSMatthew Dillon * 35b7d5e03cSMatthew Dillon * $FreeBSD$ 36b7d5e03cSMatthew Dillon * 37b7d5e03cSMatthew Dillon */ 38b7d5e03cSMatthew Dillon #ifndef __AR9300_DEVID_H__ 39b7d5e03cSMatthew Dillon #define __AR9300_DEVID_H__ 40b7d5e03cSMatthew Dillon 41b7d5e03cSMatthew Dillon /* 42b7d5e03cSMatthew Dillon * AR9380 HAL device IDs. 43b7d5e03cSMatthew Dillon */ 44b7d5e03cSMatthew Dillon 45b7d5e03cSMatthew Dillon /* 46b7d5e03cSMatthew Dillon * MAC Version and Revision 47b7d5e03cSMatthew Dillon */ 48b7d5e03cSMatthew Dillon #define AR_SREV_VERSION_AR9380 0x1C0 49b7d5e03cSMatthew Dillon #define AR_SREV_VERSION_AR9580 0x1C0 50b7d5e03cSMatthew Dillon #define AR_SREV_VERSION_AR9460 0x280 51b7d5e03cSMatthew Dillon 52b7d5e03cSMatthew Dillon #define AR_SREV_VERSION_AR9330 0x200 53b7d5e03cSMatthew Dillon #define AR_SREV_VERSION_AR9340 0x300 54b7d5e03cSMatthew Dillon #define AR_SREV_VERSION_QCA9550 0x400 55b7d5e03cSMatthew Dillon #define AR_SREV_VERSION_AR9485 0x240 56b7d5e03cSMatthew Dillon 57b7d5e03cSMatthew Dillon #define AR_SREV_REVISION_AR9380_10 0 /* AR9380 1.0 */ 58b7d5e03cSMatthew Dillon #define AR_SREV_REVISION_AR9380_20 2 /* AR9380 2.0/2.1 */ 59b7d5e03cSMatthew Dillon #define AR_SREV_REVISION_AR9380_22 3 /* AR9380 2.2 */ 60b7d5e03cSMatthew Dillon #define AR_SREV_REVISION_AR9580_10 4 /* AR9580/Peacock 1.0 */ 61b7d5e03cSMatthew Dillon 62b7d5e03cSMatthew Dillon #define AR_SREV_REVISION_AR9330_10 0 /* AR9330 1.0 */ 63b7d5e03cSMatthew Dillon #define AR_SREV_REVISION_AR9330_11 1 /* AR9330 1.1 */ 64b7d5e03cSMatthew Dillon #define AR_SREV_REVISION_AR9330_12 2 /* AR9330 1.2 */ 65b7d5e03cSMatthew Dillon #define AR_SREV_REVISION_AR9330_11_MASK 0xf /* AR9330 1.1 revision mask */ 66b7d5e03cSMatthew Dillon 67b7d5e03cSMatthew Dillon #define AR_SREV_REVISION_AR9485_10 0 /* AR9485 1.0 */ 68b7d5e03cSMatthew Dillon #define AR_SREV_REVISION_AR9485_11 1 /* AR9485 1.1 */ 69b7d5e03cSMatthew Dillon 70b7d5e03cSMatthew Dillon #define AR_SREV_REVISION_AR9340_10 0 /* AR9340 1.0 */ 71b7d5e03cSMatthew Dillon #define AR_SREV_REVISION_AR9340_11 1 /* AR9340 1.1 */ 72b7d5e03cSMatthew Dillon #define AR_SREV_REVISION_AR9340_12 2 /* AR9340 1.2 */ 73b7d5e03cSMatthew Dillon #define AR_SREV_REVISION_AR9340_MASK 0xf /* AR9340 revision mask */ 74b7d5e03cSMatthew Dillon 75b7d5e03cSMatthew Dillon #define AR_SREV_REVISION_AR9460_10 0 /* AR946x 1.0 */ 76b7d5e03cSMatthew Dillon 77b7d5e03cSMatthew Dillon #endif /* __AR9300_DEVID_H__ */ 78