Linux 4.19.133
[linux/fpc-iii.git] / drivers / net / ethernet / intel / i40evf / i40e_devids.h
blobf300bf271824acbc515ea4faf2d093b3328f99e2
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2013 - 2018 Intel Corporation. */
4 #ifndef _I40E_DEVIDS_H_
5 #define _I40E_DEVIDS_H_
7 /* Device IDs */
8 #define I40E_DEV_ID_SFP_XL710 0x1572
9 #define I40E_DEV_ID_QEMU 0x1574
10 #define I40E_DEV_ID_KX_B 0x1580
11 #define I40E_DEV_ID_KX_C 0x1581
12 #define I40E_DEV_ID_QSFP_A 0x1583
13 #define I40E_DEV_ID_QSFP_B 0x1584
14 #define I40E_DEV_ID_QSFP_C 0x1585
15 #define I40E_DEV_ID_10G_BASE_T 0x1586
16 #define I40E_DEV_ID_20G_KR2 0x1587
17 #define I40E_DEV_ID_20G_KR2_A 0x1588
18 #define I40E_DEV_ID_10G_BASE_T4 0x1589
19 #define I40E_DEV_ID_25G_B 0x158A
20 #define I40E_DEV_ID_25G_SFP28 0x158B
21 #define I40E_DEV_ID_VF 0x154C
22 #define I40E_DEV_ID_VF_HV 0x1571
23 #define I40E_DEV_ID_ADAPTIVE_VF 0x1889
24 #define I40E_DEV_ID_SFP_X722 0x37D0
25 #define I40E_DEV_ID_1G_BASE_T_X722 0x37D1
26 #define I40E_DEV_ID_10G_BASE_T_X722 0x37D2
27 #define I40E_DEV_ID_SFP_I_X722 0x37D3
28 #define I40E_DEV_ID_X722_VF 0x37CD
30 #define i40e_is_40G_device(d) ((d) == I40E_DEV_ID_QSFP_A || \
31 (d) == I40E_DEV_ID_QSFP_B || \
32 (d) == I40E_DEV_ID_QSFP_C)
34 #endif /* _I40E_DEVIDS_H_ */