1 /*
2  * Copyright (c) 2013-2019 The Linux Foundation. All rights reserved.
3  *
4  * Permission to use, copy, modify, and/or distribute this software for
5  * any purpose with or without fee is hereby granted, provided that the
6  * above copyright notice and this permission notice appear in all
7  * copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
10  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
11  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
12  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
13  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
14  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
15  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16  * PERFORMANCE OF THIS SOFTWARE.
17  */
18 
19 #ifndef _HIF_SDIO_COMMON_H_
20 #define _HIF_SDIO_COMMON_H_
21 
22 /* SDIO manufacturer ID and Codes */
23 #define MANUFACTURER_ID_AR6002_BASE        0x200
24 #define MANUFACTURER_ID_AR6003_BASE        0x300
25 #define MANUFACTURER_ID_AR6004_BASE        0x400
26 #define MANUFACTURER_ID_AR6320_BASE        0x500
27 #define MANUFACTURER_ID_QCA9377_BASE       0x700
28 #define MANUFACTURER_ID_QCA9379_BASE       0x800
29 #define MANUFACTURER_ID_QCN7605            0x400B
30 #define MANUFACTURER_ID_QCN7605_BASE       0x4000
31 #define MANUFACTURER_ID_AR6K_BASE_MASK     0xFF00
32 #define MANUFACTURER_ID_AR6K_REV_MASK      0x00FF
33 #define FUNCTION_CLASS                     0x0
34 #define MANUFACTURER_CODE                  0x271 /* Atheros Manufacturer ID */
35 #define MANUFACTURER_QC_CODE               0x70  /* QC Manufacturer ID */
36 
37 
38 #endif /* _HIF_SDIO_COMMON_H_ */
39