xref: /wlan-dirver/qca-wifi-host-cmn/hif/src/sdio/hif_sdio_common.h (revision a175314c51a4ce5cec2835cc8a8c7dc0c1810915)
1 /*
2  * Copyright (c) 2013-2018 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_BASE       0x0000 /*TODO - GenoaSDIO */
30 #define MANUFACTURER_ID_AR6K_BASE_MASK     0xFF00
31 #define MANUFACTURER_ID_AR6K_REV_MASK      0x00FF
32 #define FUNCTION_CLASS                     0x0
33 #define MANUFACTURER_CODE                  0x271
34 
35 
36 #endif /* _HIF_SDIO_COMMON_H_ */
37