1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright (c) 2020, 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.26.16-k"; 67 const uint8_t ice_major_version = 0; 68 const uint8_t ice_minor_version = 26; 69 const uint8_t ice_patch_version = 16; 70 const uint8_t ice_rc_version = 0; 71 72 #define PVIDV(vendor, devid, name) \ 73 PVID(vendor, devid, name " - 0.26.16-k") 74 #define PVIDV_OEM(vendor, devid, svid, sdevid, revid, name) \ 75 PVID_OEM(vendor, devid, svid, sdevid, revid, name " - 0.26.16-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(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_QSFP, 117 "Intel(R) Ethernet Controller E810-C for QSFP"), 118 PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP, 119 ICE_INTEL_VENDOR_ID, 0x0001, 0, 120 "Intel(R) Ethernet Network Adapter E810-L-1"), 121 PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP, 122 ICE_INTEL_VENDOR_ID, 0x0002, 0, 123 "Intel(R) Ethernet Network Adapter E810-L-2"), 124 PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP, 125 ICE_INTEL_VENDOR_ID, 0x0003, 0, 126 "Intel(R) Ethernet Network Adapter E810-L-1"), 127 PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP, 128 ICE_INTEL_VENDOR_ID, 0x0004, 0, 129 "Intel(R) Ethernet Network Adapter E810-L-2"), 130 PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP, 131 ICE_INTEL_VENDOR_ID, 0x0005, 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, 0x0006, 0, 135 "Intel(R) Ethernet Network Adapter E810-XXV-4"), 136 PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP, 137 ICE_INTEL_VENDOR_ID, 0x0007, 0, 138 "Intel(R) Ethernet Network Adapter E810-XXV-4"), 139 PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP, 140 ICE_INTEL_VENDOR_ID, 0x0008, 0, 141 "Intel(R) Ethernet Network Adapter E810-XXV-2"), 142 PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP, 143 ICE_INTEL_VENDOR_ID, 0x0009, 0, 144 "Intel(R) Ethernet Network Adapter E810-XXV-2 for OCP 2.0"), 145 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810C_SFP, 146 "Intel(R) Ethernet Controller E810-C for SFP"), 147 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822C_BACKPLANE, 148 "Intel(R) Ethernet Connection E822-C for backplane"), 149 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822C_QSFP, 150 "Intel(R) Ethernet Connection E822-C for QSFP"), 151 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822C_SFP, 152 "Intel(R) Ethernet Connection E822-C for SFP"), 153 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822C_10G_BASE_T, 154 "Intel(R) Ethernet Connection E822-C/X557-AT 10GBASE-T"), 155 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822C_SGMII, 156 "Intel(R) Ethernet Connection E822-C 1GbE"), 157 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_BACKPLANE, 158 "Intel(R) Ethernet Connection E822-L for backplane"), 159 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_SFP, 160 "Intel(R) Ethernet Connection E822-L for SFP"), 161 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_10G_BASE_T, 162 "Intel(R) Ethernet Connection E822-L/X557-AT 10GBASE-T"), 163 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_SGMII, 164 "Intel(R) Ethernet Connection E822-L 1GbE"), 165 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E823L_BACKPLANE, 166 "Intel(R) Ethernet Connection E823-L for backplane"), 167 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E823L_SFP, 168 "Intel(R) Ethernet Connection E823-L for SFP"), 169 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E823L_QSFP, 170 "Intel(R) Ethernet Connection E823-L for QSFP"), 171 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E823L_10G_BASE_T, 172 "Intel(R) Ethernet Connection E823-L/X557-AT 10GBASE-T"), 173 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E823L_1GBE, 174 "Intel(R) Ethernet Connection E823-L 1GbE"), 175 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_BACKPLANE, 176 "Intel(R) Ethernet Controller E810-XXV for backplane"), 177 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_QSFP, 178 "Intel(R) Ethernet Controller E810-XXV for QSFP"), 179 PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_SFP, 180 ICE_INTEL_VENDOR_ID, 0x0003, 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, 0x0004, 0, 184 "Intel(R) Ethernet Network Adapter E810-XXV-2"), 185 PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_SFP, 186 ICE_INTEL_VENDOR_ID, 0x0005, 0, 187 "Intel(R) Ethernet Network Adapter E810-XXV-2 for OCP 3.0"), 188 PVIDV_OEM(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_SFP, 189 ICE_INTEL_VENDOR_ID, 0x0006, 0, 190 "Intel(R) Ethernet Network Adapter E810-XXV-2 for OCP 3.0"), 191 PVIDV(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E810_XXV_SFP, 192 "Intel(R) Ethernet Controller E810-XXV for SFP"), 193 PVID_END 194 }; 195 196