Commit 2155a539 authored by Vikram Narayanan's avatar Vikram Narayanan

test_mods/ixgbe: Change dev_id/pci_id

Cloudlab has a slightly different X520 card compared to d820's X520.
parent 1a582d40
......@@ -29,7 +29,7 @@ static struct net_device *g_net_device;
#ifdef IOMMU_ASSIGN
/* device for IOMMU assignment */
struct pcidev_info dev_assign = { 0x0000, 0x42, 0x00, 0x1 };
struct pcidev_info dev_assign = { 0x0000, 0x06, 0x00, 0x1 };
#endif
struct kmem_cache *skb_c_cache;
......@@ -842,7 +842,7 @@ int probe_callee(struct fipc_message *_request,
}
dev_container->pci_dev.dev.kobj.name = "ixgbe_lcd";
dev_container->pci_dev.vendor = 0x8086;
dev_container->pci_dev.device = 0x154D;
dev_container->pci_dev.device = 0x10fd;
dev_container->other_ref = other_ref;
dev_container->pci_dev.dev.dma_mask = &dma_mask;
#ifdef PCI_REGIONS
......
......@@ -132,7 +132,9 @@ static const struct pci_device_id ixgbe_pci_tbl[] = {
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_KX4), board_82599 },
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_XAUI_LOM), board_82599 },
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_KR), board_82599 },
#endif
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_SFP), board_82599 },
#ifndef LCD_ISOLATE
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_SFP_EM), board_82599 },
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_KX4_MEZZ), board_82599 },
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_CX4), board_82599 },
......@@ -141,9 +143,7 @@ static const struct pci_device_id ixgbe_pci_tbl[] = {
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_T3_LOM), board_82599 },
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_COMBO_BACKPLANE), board_82599 },
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X540T), board_X540 },
#endif
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_SFP_SF2), board_82599 },
#ifndef LCD_ISOLATE
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_LS), board_82599 },
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_QSFP_SF_QP), board_82599 },
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599EN_SFP), board_82599 },
......
......@@ -53,13 +53,15 @@ static struct rtnl_link_stats64 g_stats;
/* This is the only device we strive for */
#define IXGBE_DEV_ID_82599_SFP_SF2 0x154D
#define IXGBE_DEV_ID_82599_SFP 0x10FB
/* XXX: There's no way to pass arrays across domains for now.
* May not be in the future too! But agree that this is ugly
* and move forward. - vik
*/
static const struct pci_device_id ixgbe_pci_tbl[] = {
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_SFP_SF2) },
/* {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_SFP_SF2) }, */
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_SFP) },
{ 0 } /* sentinel */
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment