]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/dev/ice/ice_drv_info.h
ice(4): Update to version 0.28.1-k
[FreeBSD/FreeBSD.git] / sys / dev / ice / ice_drv_info.h
1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /*  Copyright (c) 2021, Intel Corporation
3  *  All rights reserved.
4  *
5  *  Redistribution and use in source and binary forms, with or without
6  *  modification, are permitted provided that the following conditions are met:
7  *
8  *   1. Redistributions of source code must retain the above copyright notice,
9  *      this list of conditions and the following disclaimer.
10  *
11  *   2. Redistributions in binary form must reproduce the above copyright
12  *      notice, this list of conditions and the following disclaimer in the
13  *      documentation and/or other materials provided with the distribution.
14  *
15  *   3. Neither the name of the Intel Corporation nor the names of its
16  *      contributors may be used to endorse or promote products derived from
17  *      this software without specific prior written permission.
18  *
19  *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20  *  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21  *  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22  *  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
23  *  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24  *  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25  *  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26  *  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27  *  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28  *  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29  *  POSSIBILITY OF SUCH DAMAGE.
30  */
31 /*$FreeBSD$*/
32
33 /**
34  * @file ice_drv_info.h
35  * @brief device IDs and driver version
36  *
37  * Contains the device IDs tables and the driver version string.
38  *
39  * This file contains static or constant definitions intended to be included
40  * exactly once in the main driver interface file. It implicitly depends on
41  * the main driver header file.
42  *
43  * These definitions could be placed directly in the interface file, but are
44  * kept separate for organizational purposes.
45  */
46
47 /**
48  * @var ice_driver_version
49  * @brief driver version string
50  *
51  * Driver version information, used for display as part of an informational
52  * sysctl, and as part of the driver information sent to the firmware at load.
53  *
54  * @var ice_major_version
55  * @brief driver major version number
56  *
57  * @var ice_minor_version
58  * @brief driver minor version number
59  *
60  * @var ice_patch_version
61  * @brief driver patch version number
62  *
63  * @var ice_rc_version
64  * @brief driver release candidate version number
65  */
66 const char ice_driver_version[] = "0.28.1-k";
67 const uint8_t ice_major_version = 0;
68 const uint8_t ice_minor_version = 28;
69 const uint8_t ice_patch_version = 1;
70 const uint8_t ice_rc_version = 0;
71
72 #define PVIDV(vendor, devid, name) \
73         PVID(vendor, devid, name " - 0.28.1-k")
74 #define PVIDV_OEM(vendor, devid, svid, sdevid, revid, name) \
75         PVID_OEM(vendor, devid, svid, sdevid, revid, name " - 0.28.1-k")
76
77 /**
78  * @var ice_vendor_info_array
79  * @brief array of PCI devices supported by this driver
80  *
81  * Array of PCI devices which are supported by this driver. Used to determine
82  * whether a given device should be loaded by this driver. This information is
83  * also exported as part of the module information for other tools to analyze.
84  *
85  * @remark Each type of device ID needs to be listed from most-specific entry
86  * to most-generic entry; e.g. PVIDV_OEM()s for a device ID must come before
87  * the PVIDV() for it.
88  */
89 static pci_vendor_info_t ice_vendor_info_array[] = {
90         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_BACKPLANE,
91                 "Intel(R) Ethernet Controller E810-C for backplane"),
92         PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_QSFP,
93                 ICE_INTEL_VENDOR_ID, 0x0001, 0,
94                 "Intel(R) Ethernet Network Adapter E810-C-Q1"),
95         PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_QSFP,
96                 ICE_INTEL_VENDOR_ID, 0x0002, 0,
97                 "Intel(R) Ethernet Network Adapter E810-C-Q2"),
98         PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_QSFP,
99                 ICE_INTEL_VENDOR_ID, 0x0003, 0,
100                 "Intel(R) Ethernet Network Adapter E810-C-Q1"),
101         PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_QSFP,
102                 ICE_INTEL_VENDOR_ID, 0x0004, 0,
103                 "Intel(R) Ethernet Network Adapter E810-C-Q2"),
104         PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_QSFP,
105                 ICE_INTEL_VENDOR_ID, 0x0005, 0,
106                 "Intel(R) Ethernet Network Adapter E810-C-Q1 for OCP3.0"),
107         PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_QSFP,
108                 ICE_INTEL_VENDOR_ID, 0x0006, 0,
109                 "Intel(R) Ethernet Network Adapter E810-C-Q2 for OCP3.0"),
110         PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_QSFP,
111                 ICE_INTEL_VENDOR_ID, 0x0007, 0,
112                 "Intel(R) Ethernet Network Adapter E810-C-Q1 for OCP3.0"),
113         PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_QSFP,
114                 ICE_INTEL_VENDOR_ID, 0x0008, 0,
115                 "Intel(R) Ethernet Network Adapter E810-C-Q2 for OCP3.0"),
116         PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_QSFP,
117                 ICE_INTEL_VENDOR_ID, 0x000D, 0,
118                 "Intel(R) Ethernet Network Adapter E810-L-Q2 for OCP3.0"),
119         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_QSFP,
120                 "Intel(R) Ethernet Controller E810-C for QSFP"),
121         PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP,
122                 ICE_INTEL_VENDOR_ID, 0x0005, 0,
123                 "Intel(R) Ethernet Network Adapter E810-XXV-4"),
124         PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP,
125                 ICE_INTEL_VENDOR_ID, 0x0006, 0,
126                 "Intel(R) Ethernet Network Adapter E810-XXV-4"),
127         PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP,
128                 ICE_INTEL_VENDOR_ID, 0x0007, 0,
129                 "Intel(R) Ethernet Network Adapter E810-XXV-4"),
130         PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP,
131                 ICE_INTEL_VENDOR_ID, 0x0008, 0,
132                 "Intel(R) Ethernet Network Adapter E810-XXV-2"),
133         PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP,
134                 ICE_INTEL_VENDOR_ID, 0x0009, 0,
135                 "Intel(R) Ethernet Network Adapter E810-XXV-2 for OCP 2.0"),
136         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP,
137                 "Intel(R) Ethernet Controller E810-C for SFP"),
138         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822C_BACKPLANE,
139               "Intel(R) Ethernet Connection E822-C for backplane"),
140         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822C_QSFP,
141               "Intel(R) Ethernet Connection E822-C for QSFP"),
142         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822C_SFP,
143               "Intel(R) Ethernet Connection E822-C for SFP"),
144         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822C_10G_BASE_T,
145               "Intel(R) Ethernet Connection E822-C/X557-AT 10GBASE-T"),
146         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822C_SGMII,
147               "Intel(R) Ethernet Connection E822-C 1GbE"),
148         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_BACKPLANE,
149               "Intel(R) Ethernet Connection E822-L for backplane"),
150         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_SFP,
151               "Intel(R) Ethernet Connection E822-L for SFP"),
152         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_10G_BASE_T,
153               "Intel(R) Ethernet Connection E822-L/X557-AT 10GBASE-T"),
154         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_SGMII,
155               "Intel(R) Ethernet Connection E822-L 1GbE"),
156         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E823L_BACKPLANE,
157               "Intel(R) Ethernet Connection E823-L for backplane"),
158         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E823L_SFP,
159               "Intel(R) Ethernet Connection E823-L for SFP"),
160         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E823L_QSFP,
161               "Intel(R) Ethernet Connection E823-L for QSFP"),
162         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E823L_10G_BASE_T,
163               "Intel(R) Ethernet Connection E823-L/X557-AT 10GBASE-T"),
164         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E823L_1GBE,
165               "Intel(R) Ethernet Connection E823-L 1GbE"),
166         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_BACKPLANE,
167               "Intel(R) Ethernet Controller E810-XXV for backplane"),
168         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_QSFP,
169                 "Intel(R) Ethernet Controller E810-XXV for QSFP"),
170         PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_SFP,
171                 ICE_INTEL_VENDOR_ID, 0x0003, 0,
172                 "Intel(R) Ethernet Network Adapter E810-XXV-2"),
173         PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_SFP,
174                 ICE_INTEL_VENDOR_ID, 0x0004, 0,
175                 "Intel(R) Ethernet Network Adapter E810-XXV-2"),
176         PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_SFP,
177                 ICE_INTEL_VENDOR_ID, 0x0005, 0,
178                 "Intel(R) Ethernet Network Adapter E810-XXV-2 for OCP 3.0"),
179         PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_SFP,
180                 ICE_INTEL_VENDOR_ID, 0x0006, 0,
181                 "Intel(R) Ethernet Network Adapter E810-XXV-2 for OCP 3.0"),
182         PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_SFP,
183                 "Intel(R) Ethernet Controller E810-XXV for SFP"),
184         PVID_END
185 };
186