mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 13:34:38 +08:00
i40e: add new pci id for X710/XXV710 N3000 cards
New device ids are created to support X710/XXV710 N3000 cards. Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
937f599a11
commit
e576e76966
@ -32,6 +32,8 @@ static i40e_status i40e_set_mac_type(struct i40e_hw *hw)
|
||||
case I40E_DEV_ID_20G_KR2_A:
|
||||
case I40E_DEV_ID_25G_B:
|
||||
case I40E_DEV_ID_25G_SFP28:
|
||||
case I40E_DEV_ID_X710_N3000:
|
||||
case I40E_DEV_ID_XXV710_N3000:
|
||||
hw->mac.type = I40E_MAC_XL710;
|
||||
break;
|
||||
case I40E_DEV_ID_KX_X722:
|
||||
|
@ -5,6 +5,8 @@
|
||||
#define _I40E_DEVIDS_H_
|
||||
|
||||
/* Device IDs */
|
||||
#define I40E_DEV_ID_X710_N3000 0x0CF8
|
||||
#define I40E_DEV_ID_XXV710_N3000 0x0D58
|
||||
#define I40E_DEV_ID_SFP_XL710 0x1572
|
||||
#define I40E_DEV_ID_QEMU 0x1574
|
||||
#define I40E_DEV_ID_KX_B 0x1580
|
||||
|
@ -81,6 +81,8 @@ static const struct pci_device_id i40e_pci_tbl[] = {
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_SFP_I_X722), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_20G_KR2), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_20G_KR2_A), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_X710_N3000), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_XXV710_N3000), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_25G_B), 0},
|
||||
{PCI_VDEVICE(INTEL, I40E_DEV_ID_25G_SFP28), 0},
|
||||
/* required last entry */
|
||||
|
Loading…
Reference in New Issue
Block a user