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.29.4-k"; 67 const uint8_t ice_major_version = 0; 68 const uint8_t ice_minor_version = 29; 69 const uint8_t ice_patch_version = 4; 70 const uint8_t ice_rc_version = 0; 71 72 #define PVIDV(vendor, devid, name) \ 73 PVID(vendor, devid, name " - 0.29.4-k") 74 #define PVIDV_OEM(vendor, devid, svid, sdevid, revid, name) \ 75 PVID_OEM(vendor, devid, svid, sdevid, revid, name " - 0.29.4-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_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_QSFP, 120 ICE_INTEL_VENDOR_ID, 0x000E, 0, 121 "Intel(R) Ethernet Network Adapter E810-2C-Q2"), 122 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_QSFP, 123 "Intel(R) Ethernet Controller E810-C for QSFP"), 124 PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP, 125 ICE_INTEL_VENDOR_ID, 0x0005, 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, 0x0006, 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, 0x0007, 0, 132 "Intel(R) Ethernet Network Adapter E810-XXV-4"), 133 PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP, 134 ICE_INTEL_VENDOR_ID, 0x0008, 0, 135 "Intel(R) Ethernet Network Adapter E810-XXV-2"), 136 PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP, 137 ICE_INTEL_VENDOR_ID, 0x0009, 0, 138 "Intel(R) Ethernet Network Adapter E810-XXV-2 for OCP 2.0"), 139 PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP, 140 ICE_INTEL_VENDOR_ID, 0x000C, 0, 141 "Intel(R) Ethernet Network Adapter E810-XXV-4 for OCP 3.0"), 142 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP, 143 "Intel(R) Ethernet Controller E810-C for SFP"), 144 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822C_BACKPLANE, 145 "Intel(R) Ethernet Connection E822-C for backplane"), 146 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822C_QSFP, 147 "Intel(R) Ethernet Connection E822-C for QSFP"), 148 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822C_SFP, 149 "Intel(R) Ethernet Connection E822-C for SFP"), 150 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822C_10G_BASE_T, 151 "Intel(R) Ethernet Connection E822-C/X557-AT 10GBASE-T"), 152 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822C_SGMII, 153 "Intel(R) Ethernet Connection E822-C 1GbE"), 154 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_BACKPLANE, 155 "Intel(R) Ethernet Connection E822-L for backplane"), 156 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_SFP, 157 "Intel(R) Ethernet Connection E822-L for SFP"), 158 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_10G_BASE_T, 159 "Intel(R) Ethernet Connection E822-L/X557-AT 10GBASE-T"), 160 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_SGMII, 161 "Intel(R) Ethernet Connection E822-L 1GbE"), 162 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E823L_BACKPLANE, 163 "Intel(R) Ethernet Connection E823-L for backplane"), 164 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E823L_SFP, 165 "Intel(R) Ethernet Connection E823-L for SFP"), 166 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E823L_QSFP, 167 "Intel(R) Ethernet Connection E823-L for QSFP"), 168 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E823L_10G_BASE_T, 169 "Intel(R) Ethernet Connection E823-L/X557-AT 10GBASE-T"), 170 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E823L_1GBE, 171 "Intel(R) Ethernet Connection E823-L 1GbE"), 172 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_BACKPLANE, 173 "Intel(R) Ethernet Controller E810-XXV for backplane"), 174 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_QSFP, 175 "Intel(R) Ethernet Controller E810-XXV for QSFP"), 176 PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_SFP, 177 ICE_INTEL_VENDOR_ID, 0x0003, 0, 178 "Intel(R) Ethernet Network Adapter E810-XXV-2"), 179 PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_SFP, 180 ICE_INTEL_VENDOR_ID, 0x0004, 0, 181 "Intel(R) Ethernet Network Adapter E810-XXV-2"), 182 PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_SFP, 183 ICE_INTEL_VENDOR_ID, 0x0005, 0, 184 "Intel(R) Ethernet Network Adapter E810-XXV-2 for OCP 3.0"), 185 PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_SFP, 186 ICE_INTEL_VENDOR_ID, 0x0006, 0, 187 "Intel(R) Ethernet Network Adapter E810-XXV-2 for OCP 3.0"), 188 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_SFP, 189 "Intel(R) Ethernet Controller E810-XXV for SFP"), 190 PVID_END 191 }; 192 193