| /* |
| * Copyright (c) 2013-2018 The Linux Foundation. All rights reserved. |
| * |
| * Previously licensed under the ISC license by Qualcomm Atheros, Inc. |
| * |
| * |
| * Permission to use, copy, modify, and/or distribute this software for |
| * any purpose with or without fee is hereby granted, provided that the |
| * above copyright notice and this permission notice appear in all |
| * copies. |
| * |
| * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL |
| * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED |
| * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE |
| * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL |
| * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR |
| * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
| * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| * PERFORMANCE OF THIS SOFTWARE. |
| */ |
| |
| /* |
| * This file was originally distributed by Qualcomm Atheros, Inc. |
| * under proprietary terms before Copyright ownership was assigned |
| * to the Linux Foundation. |
| */ |
| |
| #ifndef _TARGET_TYPE_H_ |
| #define _TARGET_TYPE_H_ |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif /* __cplusplus */ |
| |
| /* Header files */ |
| |
| /* TARGET definition needs to be abstracted in fw common |
| * header files, below is the placeholder till WIN codebase |
| * moved to latest copy of fw common header files. |
| */ |
| #ifdef CONFIG_WIN |
| #define TARGET_TYPE_UNKNOWN 0 |
| #define TARGET_TYPE_AR6001 1 |
| #define TARGET_TYPE_AR6002 2 |
| #define TARGET_TYPE_AR6003 3 |
| #define TARGET_TYPE_AR6004 5 |
| #define TARGET_TYPE_AR6006 6 |
| #define TARGET_TYPE_AR9888 7 |
| #define TARGET_TYPE_AR900B 9 |
| #define TARGET_TYPE_QCA9984 10 |
| #define TARGET_TYPE_IPQ4019 11 |
| #define TARGET_TYPE_QCA9888 12 |
| /* For attach Peregrine 2.0 board target_reg_tbl only */ |
| #define TARGET_TYPE_AR9888V2 13 |
| /* For attach Rome1.0 target_reg_tbl only*/ |
| #define TARGET_TYPE_AR6320V1 14 |
| /* For Rome2.0/2.1 target_reg_tbl ID*/ |
| #define TARGET_TYPE_AR6320V2 15 |
| /* For Rome3.0 target_reg_tbl ID*/ |
| #define TARGET_TYPE_AR6320V3 16 |
| /* For Tufello1.0 target_reg_tbl ID*/ |
| #define TARGET_TYPE_QCA9377V1 17 |
| #endif /* CONFIG_WIN */ |
| #define TARGET_TYPE_AR6320 8 |
| /* For Adrastea target */ |
| #define TARGET_TYPE_ADRASTEA 19 |
| #ifndef TARGET_TYPE_QCA8074 |
| #define TARGET_TYPE_QCA8074 20 |
| #endif |
| #ifndef TARGET_TYPE_QCA6290 |
| #define TARGET_TYPE_QCA6290 21 |
| #endif |
| |
| #ifdef __cplusplus |
| } |
| #endif |
| |
| #endif /* _TARGET_TYPE_H_ */ |