1 /* 2 * Copyright (c) 2013-2018 The Linux Foundation. All rights reserved. 3 * 4 * Previously licensed under the ISC license by Qualcomm Atheros, Inc. 5 * 6 * 7 * Permission to use, copy, modify, and/or distribute this software for 8 * any purpose with or without fee is hereby granted, provided that the 9 * above copyright notice and this permission notice appear in all 10 * copies. 11 * 12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 13 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 14 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 15 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 16 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 17 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 18 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 19 * PERFORMANCE OF THIS SOFTWARE. 20 */ 21 22 /* 23 * This file was originally distributed by Qualcomm Atheros, Inc. 24 * under proprietary terms before Copyright ownership was assigned 25 * to the Linux Foundation. 26 */ 27 28 #ifndef _TARGET_TYPE_H_ 29 #define _TARGET_TYPE_H_ 30 31 #ifdef __cplusplus 32 extern "C" { 33 #endif /* __cplusplus */ 34 35 /* Header files */ 36 37 /* TARGET definition needs to be abstracted in fw common 38 * header files, below is the placeholder till WIN codebase 39 * moved to latest copy of fw common header files. 40 */ 41 #ifdef CONFIG_WIN 42 #define TARGET_TYPE_UNKNOWN 0 43 #define TARGET_TYPE_AR6001 1 44 #define TARGET_TYPE_AR6002 2 45 #define TARGET_TYPE_AR6003 3 46 #define TARGET_TYPE_AR6004 5 47 #define TARGET_TYPE_AR6006 6 48 #define TARGET_TYPE_AR9888 7 49 #define TARGET_TYPE_AR900B 9 50 #define TARGET_TYPE_QCA9984 10 51 #define TARGET_TYPE_IPQ4019 11 52 #define TARGET_TYPE_QCA9888 12 53 /* For attach Peregrine 2.0 board target_reg_tbl only */ 54 #define TARGET_TYPE_AR9888V2 13 55 /* For attach Rome1.0 target_reg_tbl only*/ 56 #define TARGET_TYPE_AR6320V1 14 57 /* For Rome2.0/2.1 target_reg_tbl ID*/ 58 #define TARGET_TYPE_AR6320V2 15 59 /* For Rome3.0 target_reg_tbl ID*/ 60 #define TARGET_TYPE_AR6320V3 16 61 /* For Tufello1.0 target_reg_tbl ID*/ 62 #define TARGET_TYPE_QCA9377V1 17 63 #endif /* CONFIG_WIN */ 64 #define TARGET_TYPE_AR6320 8 65 /* For Adrastea target */ 66 #define TARGET_TYPE_ADRASTEA 19 67 #ifndef TARGET_TYPE_QCA8074 68 #define TARGET_TYPE_QCA8074 20 69 #endif 70 #ifndef TARGET_TYPE_QCA6290 71 #define TARGET_TYPE_QCA6290 21 72 #endif 73 74 #ifdef __cplusplus 75 } 76 #endif 77 78 #endif /* _TARGET_TYPE_H_ */ 79