app/test: remove real PCI ids
There are 2 new fake devices for testing PCI infra. All the fake devices are now identified by non-existing vendor and device IDs so there is no real driver to bind to them. The testing drivers match those IDs. Suggested-by: Thomas Monjalon <thomas.monjalon@6wind.com> Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
This commit is contained in:
parent
c1368be2d5
commit
1dbba1650c
@ -67,21 +67,14 @@ static int my_driver_init(struct rte_pci_driver *dr,
|
||||
|
||||
/* IXGBE NICS */
|
||||
struct rte_pci_id my_driver_id[] = {
|
||||
|
||||
#define RTE_PCI_DEV_ID_DECL_IXGBE(vend, dev) {RTE_PCI_DEVICE(vend, dev)},
|
||||
#include <rte_pci_dev_ids.h>
|
||||
|
||||
{ .vendor_id = 0, /* sentinel */ },
|
||||
{RTE_PCI_DEVICE(0x0001, 0x1234)},
|
||||
{ .vendor_id = 0, /* sentinel */ },
|
||||
};
|
||||
|
||||
struct rte_pci_id my_driver_id2[] = {
|
||||
|
||||
/* IGB & EM NICS */
|
||||
#define RTE_PCI_DEV_ID_DECL_EM(vend, dev) {RTE_PCI_DEVICE(vend, dev)},
|
||||
#define RTE_PCI_DEV_ID_DECL_IGB(vend, dev) {RTE_PCI_DEVICE(vend, dev)},
|
||||
#include <rte_pci_dev_ids.h>
|
||||
|
||||
{ .vendor_id = 0, /* sentinel */ },
|
||||
{RTE_PCI_DEVICE(0x0001, 0x4444)},
|
||||
{RTE_PCI_DEVICE(0x0002, 0xabcd)},
|
||||
{ .vendor_id = 0, /* sentinel */ },
|
||||
};
|
||||
|
||||
struct rte_pci_driver my_driver = {
|
||||
|
@ -1 +1 @@
|
||||
0x10fb
|
||||
0x1234
|
||||
|
@ -1 +1 @@
|
||||
0x8086
|
||||
0x0001
|
||||
|
@ -1 +1 @@
|
||||
0x8086
|
||||
0x0001
|
||||
|
@ -0,0 +1 @@
|
||||
0xabcd
|
@ -0,0 +1,13 @@
|
||||
0x00000000d0080000 0x00000000d00fffff 0x000000000014220c
|
||||
0x0000000000000000 0x0000000000000000 0x0000000000000000
|
||||
0x000000000000e020 0x000000000000e03f 0x0000000000040101
|
||||
0x0000000000000000 0x0000000000000000 0x0000000000000000
|
||||
0x00000000d0104000 0x00000000d0107fff 0x000000000014220c
|
||||
0x0000000000000000 0x0000000000000000 0x0000000000000000
|
||||
0x0000000000000000 0x0000000000000000 0x0000000000000000
|
||||
0x00000000ab000000 0x00000000ab0fffff 0x0000000000140204
|
||||
0x0000000000000000 0x0000000000000000 0x0000000000000000
|
||||
0x0000000000000000 0x0000000000000000 0x0000000000000000
|
||||
0x00000000ab100000 0x00000000ab1fffff 0x0000000000140204
|
||||
0x0000000000000000 0x0000000000000000 0x0000000000000000
|
||||
0x0000000000000000 0x0000000000000000 0x0000000000000000
|
@ -0,0 +1 @@
|
||||
0xabcd
|
@ -0,0 +1 @@
|
||||
0x0002
|
@ -0,0 +1 @@
|
||||
0x0002
|
@ -0,0 +1 @@
|
||||
0x4444
|
@ -0,0 +1,13 @@
|
||||
0x00000000d0080000 0x00000000d00fffff 0x000000000014220c
|
||||
0x0000000000000000 0x0000000000000000 0x0000000000000000
|
||||
0x000000000000e020 0x000000000000e03f 0x0000000000040101
|
||||
0x0000000000000000 0x0000000000000000 0x0000000000000000
|
||||
0x00000000d0104000 0x00000000d0107fff 0x000000000014220c
|
||||
0x0000000000000000 0x0000000000000000 0x0000000000000000
|
||||
0x0000000000000000 0x0000000000000000 0x0000000000000000
|
||||
0x00000000ab000000 0x00000000ab0fffff 0x0000000000140204
|
||||
0x0000000000000000 0x0000000000000000 0x0000000000000000
|
||||
0x0000000000000000 0x0000000000000000 0x0000000000000000
|
||||
0x00000000ab100000 0x00000000ab1fffff 0x0000000000140204
|
||||
0x0000000000000000 0x0000000000000000 0x0000000000000000
|
||||
0x0000000000000000 0x0000000000000000 0x0000000000000000
|
@ -0,0 +1 @@
|
||||
0x4444
|
@ -0,0 +1 @@
|
||||
0x0001
|
@ -0,0 +1 @@
|
||||
0x0001
|
Loading…
Reference in New Issue
Block a user