mirror of https://gitee.com/openkylin/linux.git
i40e/i40evf: remove deprecated device IDs
Remove two device IDs 1582 and 1573, because they will not be shipped. Change-ID: Ica2e550b5b21a69e3f353eba2fe5e1c532a548c4 Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
eefeacee77
commit
704599ed0f
|
@ -43,12 +43,10 @@ static i40e_status i40e_set_mac_type(struct i40e_hw *hw)
|
|||
if (hw->vendor_id == PCI_VENDOR_ID_INTEL) {
|
||||
switch (hw->device_id) {
|
||||
case I40E_DEV_ID_SFP_XL710:
|
||||
case I40E_DEV_ID_SFP_X710:
|
||||
case I40E_DEV_ID_QEMU:
|
||||
case I40E_DEV_ID_KX_A:
|
||||
case I40E_DEV_ID_KX_B:
|
||||
case I40E_DEV_ID_KX_C:
|
||||
case I40E_DEV_ID_KX_D:
|
||||
case I40E_DEV_ID_QSFP_A:
|
||||
case I40E_DEV_ID_QSFP_B:
|
||||
case I40E_DEV_ID_QSFP_C:
|
||||
|
|
|
@ -67,12 +67,10 @@ static int i40e_veb_get_bw_info(struct i40e_veb *veb);
|
|||
*/
|
||||
static DEFINE_PCI_DEVICE_TABLE(i40e_pci_tbl) = {
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_SFP_XL710), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_SFP_X710), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_QEMU), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_KX_A), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_KX_B), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_KX_C), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_KX_D), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_QSFP_A), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_QSFP_B), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_QSFP_C), 0},
|
||||
|
|
|
@ -36,12 +36,10 @@
|
|||
|
||||
/* Device IDs */
|
||||
#define I40E_DEV_ID_SFP_XL710 0x1572
|
||||
#define I40E_DEV_ID_SFP_X710 0x1573
|
||||
#define I40E_DEV_ID_QEMU 0x1574
|
||||
#define I40E_DEV_ID_KX_A 0x157F
|
||||
#define I40E_DEV_ID_KX_B 0x1580
|
||||
#define I40E_DEV_ID_KX_C 0x1581
|
||||
#define I40E_DEV_ID_KX_D 0x1582
|
||||
#define I40E_DEV_ID_QSFP_A 0x1583
|
||||
#define I40E_DEV_ID_QSFP_B 0x1584
|
||||
#define I40E_DEV_ID_QSFP_C 0x1585
|
||||
|
|
|
@ -43,12 +43,10 @@ i40e_status i40e_set_mac_type(struct i40e_hw *hw)
|
|||
if (hw->vendor_id == PCI_VENDOR_ID_INTEL) {
|
||||
switch (hw->device_id) {
|
||||
case I40E_DEV_ID_SFP_XL710:
|
||||
case I40E_DEV_ID_SFP_X710:
|
||||
case I40E_DEV_ID_QEMU:
|
||||
case I40E_DEV_ID_KX_A:
|
||||
case I40E_DEV_ID_KX_B:
|
||||
case I40E_DEV_ID_KX_C:
|
||||
case I40E_DEV_ID_KX_D:
|
||||
case I40E_DEV_ID_QSFP_A:
|
||||
case I40E_DEV_ID_QSFP_B:
|
||||
case I40E_DEV_ID_QSFP_C:
|
||||
|
|
|
@ -35,13 +35,11 @@
|
|||
#include "i40e_lan_hmc.h"
|
||||
|
||||
/* Device IDs */
|
||||
#define I40E_DEV_ID_SFP_XL710 0x1572
|
||||
#define I40E_DEV_ID_SFP_X710 0x1573
|
||||
#define I40E_DEV_ID_SFP_XL710 0x1572
|
||||
#define I40E_DEV_ID_QEMU 0x1574
|
||||
#define I40E_DEV_ID_KX_A 0x157F
|
||||
#define I40E_DEV_ID_KX_B 0x1580
|
||||
#define I40E_DEV_ID_KX_C 0x1581
|
||||
#define I40E_DEV_ID_KX_D 0x1582
|
||||
#define I40E_DEV_ID_QSFP_A 0x1583
|
||||
#define I40E_DEV_ID_QSFP_B 0x1584
|
||||
#define I40E_DEV_ID_QSFP_C 0x1585
|
||||
|
|
Loading…
Reference in New Issue