1d72c95eaSShannon Nelson /*******************************************************************************
2d72c95eaSShannon Nelson  *
3d72c95eaSShannon Nelson  * Intel Ethernet Controller XL710 Family Linux Driver
4d72c95eaSShannon Nelson  * Copyright(c) 2013 - 2015 Intel Corporation.
5d72c95eaSShannon Nelson  *
6d72c95eaSShannon Nelson  * This program is free software; you can redistribute it and/or modify it
7d72c95eaSShannon Nelson  * under the terms and conditions of the GNU General Public License,
8d72c95eaSShannon Nelson  * version 2, as published by the Free Software Foundation.
9d72c95eaSShannon Nelson  *
10d72c95eaSShannon Nelson  * This program is distributed in the hope it will be useful, but WITHOUT
11d72c95eaSShannon Nelson  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12d72c95eaSShannon Nelson  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
13d72c95eaSShannon Nelson  * more details.
14d72c95eaSShannon Nelson  *
15d72c95eaSShannon Nelson  * You should have received a copy of the GNU General Public License along
16d72c95eaSShannon Nelson  * with this program.  If not, see <http://www.gnu.org/licenses/>.
17d72c95eaSShannon Nelson  *
18d72c95eaSShannon Nelson  * The full GNU General Public License is included in this distribution in
19d72c95eaSShannon Nelson  * the file called "COPYING".
20d72c95eaSShannon Nelson  *
21d72c95eaSShannon Nelson  * Contact Information:
22d72c95eaSShannon Nelson  * e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>
23d72c95eaSShannon Nelson  * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
24d72c95eaSShannon Nelson  *
25d72c95eaSShannon Nelson  ******************************************************************************/
26d72c95eaSShannon Nelson 
27d72c95eaSShannon Nelson #ifndef _I40E_DEVIDS_H_
28d72c95eaSShannon Nelson #define _I40E_DEVIDS_H_
29d72c95eaSShannon Nelson 
30d72c95eaSShannon Nelson /* Device IDs */
31d72c95eaSShannon Nelson #define I40E_DEV_ID_SFP_XL710		0x1572
32d72c95eaSShannon Nelson #define I40E_DEV_ID_QEMU		0x1574
33d72c95eaSShannon Nelson #define I40E_DEV_ID_KX_B		0x1580
34d72c95eaSShannon Nelson #define I40E_DEV_ID_KX_C		0x1581
35d72c95eaSShannon Nelson #define I40E_DEV_ID_QSFP_A		0x1583
36d72c95eaSShannon Nelson #define I40E_DEV_ID_QSFP_B		0x1584
37d72c95eaSShannon Nelson #define I40E_DEV_ID_QSFP_C		0x1585
38d72c95eaSShannon Nelson #define I40E_DEV_ID_10G_BASE_T		0x1586
39d72c95eaSShannon Nelson #define I40E_DEV_ID_20G_KR2		0x1587
40d72c95eaSShannon Nelson #define I40E_DEV_ID_20G_KR2_A		0x1588
41d72c95eaSShannon Nelson #define I40E_DEV_ID_10G_BASE_T4		0x1589
42d72c95eaSShannon Nelson #define I40E_DEV_ID_VF			0x154C
43d72c95eaSShannon Nelson #define I40E_DEV_ID_VF_HV		0x1571
4435dae51dSAnjali Singhai Jain #define I40E_DEV_ID_KX_X722		0x37CE
4535dae51dSAnjali Singhai Jain #define I40E_DEV_ID_QSFP_X722		0x37CF
46d72c95eaSShannon Nelson #define I40E_DEV_ID_SFP_X722		0x37D0
47d72c95eaSShannon Nelson #define I40E_DEV_ID_1G_BASE_T_X722	0x37D1
48d72c95eaSShannon Nelson #define I40E_DEV_ID_10G_BASE_T_X722	0x37D2
49d72c95eaSShannon Nelson #define I40E_DEV_ID_X722_VF		0x37CD
50d72c95eaSShannon Nelson #define I40E_DEV_ID_X722_VF_HV		0x37D9
51d72c95eaSShannon Nelson 
52d72c95eaSShannon Nelson #define i40e_is_40G_device(d)		((d) == I40E_DEV_ID_QSFP_A  || \
53d72c95eaSShannon Nelson 					 (d) == I40E_DEV_ID_QSFP_B  || \
54d72c95eaSShannon Nelson 					 (d) == I40E_DEV_ID_QSFP_C)
55d72c95eaSShannon Nelson 
56d72c95eaSShannon Nelson #endif /* _I40E_DEVIDS_H_ */
57