xref: /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/i40e_devids.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun /* Copyright(c) 2013 - 2018 Intel Corporation. */
3*4882a593Smuzhiyun 
4*4882a593Smuzhiyun #ifndef _I40E_DEVIDS_H_
5*4882a593Smuzhiyun #define _I40E_DEVIDS_H_
6*4882a593Smuzhiyun 
7*4882a593Smuzhiyun /* Device IDs */
8*4882a593Smuzhiyun #define I40E_DEV_ID_X710_N3000		0x0CF8
9*4882a593Smuzhiyun #define I40E_DEV_ID_XXV710_N3000	0x0D58
10*4882a593Smuzhiyun #define I40E_DEV_ID_SFP_XL710		0x1572
11*4882a593Smuzhiyun #define I40E_DEV_ID_QEMU		0x1574
12*4882a593Smuzhiyun #define I40E_DEV_ID_KX_B		0x1580
13*4882a593Smuzhiyun #define I40E_DEV_ID_KX_C		0x1581
14*4882a593Smuzhiyun #define I40E_DEV_ID_QSFP_A		0x1583
15*4882a593Smuzhiyun #define I40E_DEV_ID_QSFP_B		0x1584
16*4882a593Smuzhiyun #define I40E_DEV_ID_QSFP_C		0x1585
17*4882a593Smuzhiyun #define I40E_DEV_ID_10G_BASE_T		0x1586
18*4882a593Smuzhiyun #define I40E_DEV_ID_20G_KR2		0x1587
19*4882a593Smuzhiyun #define I40E_DEV_ID_20G_KR2_A		0x1588
20*4882a593Smuzhiyun #define I40E_DEV_ID_10G_BASE_T4		0x1589
21*4882a593Smuzhiyun #define I40E_DEV_ID_25G_B		0x158A
22*4882a593Smuzhiyun #define I40E_DEV_ID_25G_SFP28		0x158B
23*4882a593Smuzhiyun #define I40E_DEV_ID_10G_BASE_T_BC	0x15FF
24*4882a593Smuzhiyun #define I40E_DEV_ID_10G_B		0x104F
25*4882a593Smuzhiyun #define I40E_DEV_ID_10G_SFP		0x104E
26*4882a593Smuzhiyun #define I40E_DEV_ID_5G_BASE_T_BC	0x101F
27*4882a593Smuzhiyun #define I40E_IS_X710TL_DEVICE(d) \
28*4882a593Smuzhiyun 	(((d) == I40E_DEV_ID_5G_BASE_T_BC) || \
29*4882a593Smuzhiyun 	 ((d) == I40E_DEV_ID_10G_BASE_T_BC))
30*4882a593Smuzhiyun #define I40E_DEV_ID_KX_X722		0x37CE
31*4882a593Smuzhiyun #define I40E_DEV_ID_QSFP_X722		0x37CF
32*4882a593Smuzhiyun #define I40E_DEV_ID_SFP_X722		0x37D0
33*4882a593Smuzhiyun #define I40E_DEV_ID_1G_BASE_T_X722	0x37D1
34*4882a593Smuzhiyun #define I40E_DEV_ID_10G_BASE_T_X722	0x37D2
35*4882a593Smuzhiyun #define I40E_DEV_ID_SFP_I_X722		0x37D3
36*4882a593Smuzhiyun 
37*4882a593Smuzhiyun 
38*4882a593Smuzhiyun #endif /* _I40E_DEVIDS_H_ */
39