Path: blob/main/sys/dev/ath/ath_hal/ar9003/ar9300_devid.h
39566 views
/*-1* SPDX-License-Identifier: BSD-4-Clause2*3* Copyright (c) 2012, Qualcomm Atheros, Inc. All rights reserved.4*5* Redistribution and use in source and binary forms are permitted6* provided that the following conditions are met:7* 1. The materials contained herein are unmodified and are used8* unmodified.9* 2. Redistributions of source code must retain the above copyright10* notice, this list of conditions and the following NO11* ''WARRANTY'' disclaimer below (''Disclaimer''), without12* modification.13* 3. Redistributions in binary form must reproduce at minimum a14* disclaimer similar to the Disclaimer below and any redistribution15* must be conditioned upon including a substantially similar16* Disclaimer requirement for further binary redistribution.17* 4. Neither the names of the above-listed copyright holders nor the18* names of any contributors may be used to endorse or promote19* product derived from this software without specific prior written20* permission.21*22* NO WARRANTY23* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS24* ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT25* LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT,26* MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.27* IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE28* FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT29* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF30* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND31* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,32* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT33* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF34* SUCH DAMAGES.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 0x28050#define AR_SREV_VERSION_QCA9565 0x2c05152#define AR_SREV_VERSION_AR9330 0x20053#define AR_SREV_VERSION_AR9340 0x30054#define AR_SREV_VERSION_QCA9550 0x40055#define AR_SREV_VERSION_AR9485 0x24056#define AR_SREV_VERSION_QCA9530 0x5005758#define AR_SREV_REVISION_AR9380_10 0 /* AR9380 1.0 */59#define AR_SREV_REVISION_AR9380_20 2 /* AR9380 2.0/2.1 */60#define AR_SREV_REVISION_AR9380_22 3 /* AR9380 2.2 */61#define AR_SREV_REVISION_AR9580_10 4 /* AR9580/Peacock 1.0 */6263#define AR_SREV_REVISION_AR9330_10 0 /* AR9330 1.0 */64#define AR_SREV_REVISION_AR9330_11 1 /* AR9330 1.1 */65#define AR_SREV_REVISION_AR9330_12 2 /* AR9330 1.2 */66#define AR_SREV_REVISION_AR9330_11_MASK 0xf /* AR9330 1.1 revision mask */6768#define AR_SREV_REVISION_AR9485_10 0 /* AR9485 1.0 */69#define AR_SREV_REVISION_AR9485_11 1 /* AR9485 1.1 */7071#define AR_SREV_REVISION_AR9340_10 0 /* AR9340 1.0 */72#define AR_SREV_REVISION_AR9340_11 1 /* AR9340 1.1 */73#define AR_SREV_REVISION_AR9340_12 2 /* AR9340 1.2 */74#define AR_SREV_REVISION_AR9340_MASK 0xf /* AR9340 revision mask */7576#define AR_SREV_REVISION_AR9460_10 0 /* AR946x 1.0 */7778#endif /* __AR9300_DEVID_H__ */798081