Linux Audio

Check our new training course

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