Path: blob/main/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_devid.h
48525 views
/*1* Copyright (c) 2012, Qualcomm Atheros, Inc. All rights reserved.2*3* Redistribution and use in source and binary forms are permitted4* provided that the following conditions are met:5* 1. The materials contained herein are unmodified and are used6* unmodified.7* 2. Redistributions of source code must retain the above copyright8* notice, this list of conditions and the following NO9* ''WARRANTY'' disclaimer below (''Disclaimer''), without10* modification.11* 3. Redistributions in binary form must reproduce at minimum a12* disclaimer similar to the Disclaimer below and any redistribution13* must be conditioned upon including a substantially similar14* Disclaimer requirement for further binary redistribution.15* 3. Neither the names of the above-listed copyright holders nor the16* names of any contributors may be used to endorse or promote17* product derived from this software without specific prior written18* permission.19*20* NO WARRANTY21* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS22* ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT23* LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT,24* MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.25* IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE26* FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT27* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF28* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND29* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,30* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT31* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF32* SUCH DAMAGES.33*34* $FreeBSD$35*36*/37#ifndef __AR9300_DEVID_H__38#define __AR9300_DEVID_H__3940/*41* AR9380 HAL device IDs.42*/4344/*45* MAC Version and Revision46*/47#define AR_SREV_VERSION_AR9380 0x1C048#define AR_SREV_VERSION_AR9580 0x1C049#define AR_SREV_VERSION_AR9460 0x2805051#define AR_SREV_VERSION_AR9330 0x20052#define AR_SREV_VERSION_AR9340 0x30053#define AR_SREV_VERSION_QCA9550 0x40054#define AR_SREV_VERSION_AR9485 0x2405556#define AR_SREV_REVISION_AR9380_10 0 /* AR9380 1.0 */57#define AR_SREV_REVISION_AR9380_20 2 /* AR9380 2.0/2.1 */58#define AR_SREV_REVISION_AR9380_22 3 /* AR9380 2.2 */59#define AR_SREV_REVISION_AR9580_10 4 /* AR9580/Peacock 1.0 */6061#define AR_SREV_REVISION_AR9330_10 0 /* AR9330 1.0 */62#define AR_SREV_REVISION_AR9330_11 1 /* AR9330 1.1 */63#define AR_SREV_REVISION_AR9330_12 2 /* AR9330 1.2 */64#define AR_SREV_REVISION_AR9330_11_MASK 0xf /* AR9330 1.1 revision mask */6566#define AR_SREV_REVISION_AR9485_10 0 /* AR9485 1.0 */67#define AR_SREV_REVISION_AR9485_11 1 /* AR9485 1.1 */6869#define AR_SREV_REVISION_AR9340_10 0 /* AR9340 1.0 */70#define AR_SREV_REVISION_AR9340_11 1 /* AR9340 1.1 */71#define AR_SREV_REVISION_AR9340_12 2 /* AR9340 1.2 */72#define AR_SREV_REVISION_AR9340_MASK 0xf /* AR9340 revision mask */7374#define AR_SREV_REVISION_AR9460_10 0 /* AR946x 1.0 */7576#endif /* __AR9300_DEVID_H__ */777879