pci: rename catch-all ID
authorThomas Monjalon <thomas@monjalon.net>
Mon, 5 Apr 2021 09:15:04 +0000 (11:15 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 6 Apr 2021 12:52:49 +0000 (14:52 +0200)
commit4d509afa7bb214bc08f4b41df005fca3ec2613e7
tree1bea66f6cd342ae401c83431053dfcc016ed979c
parent190f38773acffc5cc822f4347b38ce04257cd044
pci: rename catch-all ID

The name of the constant PCI_ANY_ID was missing RTE_ prefix.
It is renamed, and the old name becomes a deprecated alias.

While renaming, the duplicate definitions in rte_bus_pci.h
are removed to keep only those in rte_pci.h.
Note: rte_pci.h is included in rte_bus_pci.h

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
doc/guides/rel_notes/release_21_05.rst
drivers/bus/pci/pci_common.c
drivers/bus/pci/rte_bus_pci.h
drivers/common/mlx5/mlx5_common_pci.c
lib/librte_pci/rte_pci.h