summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDavid Marchand <david.marchand@6wind.com>2016-07-11 16:40:39 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-07-11 17:39:44 +0200
commit245421e0c5639f52078e6aa98ba5e4e8b2f77a38 (patch)
tree6984c6890bc8e5b2d8ab62332ff3ac12edfd2b57 /drivers
parent3058891a2b022801cfb7b0f87908d999a0a86729 (diff)
downloaddpdk-245421e0c5639f52078e6aa98ba5e4e8b2f77a38.zip
dpdk-245421e0c5639f52078e6aa98ba5e4e8b2f77a38.tar.gz
dpdk-245421e0c5639f52078e6aa98ba5e4e8b2f77a38.tar.xz
net/fm10k: move PCI device ids to the driver
Reused defines from the driver. Used RTE_PCI_DEVICE in place of RTE_PCI_DEV_ID_DECL* stuff. Signed-off-by: David Marchand <david.marchand@6wind.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/fm10k/fm10k_ethdev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c
index 66be9c6..217853f 100644
--- a/drivers/net/fm10k/fm10k_ethdev.c
+++ b/drivers/net/fm10k/fm10k_ethdev.c
@@ -3049,9 +3049,9 @@ eth_fm10k_dev_uninit(struct rte_eth_dev *dev)
* and SRIOV-VF devices.
*/
static const struct rte_pci_id pci_id_fm10k_map[] = {
-#define RTE_PCI_DEV_ID_DECL_FM10K(vend, dev) { RTE_PCI_DEVICE(vend, dev) },
-#define RTE_PCI_DEV_ID_DECL_FM10KVF(vend, dev) { RTE_PCI_DEVICE(vend, dev) },
-#include "rte_pci_dev_ids.h"
+ { RTE_PCI_DEVICE(FM10K_INTEL_VENDOR_ID, FM10K_DEV_ID_PF) },
+ { RTE_PCI_DEVICE(FM10K_INTEL_VENDOR_ID, FM10K_DEV_ID_SDI_FM10420_QDA2) },
+ { RTE_PCI_DEVICE(FM10K_INTEL_VENDOR_ID, FM10K_DEV_ID_VF) },
{ .vendor_id = 0, /* sentinel */ },
};