bus/pci: switch to private kernel driver enum
authorDavid Marchand <david.marchand@redhat.com>
Thu, 17 Sep 2020 11:28:19 +0000 (13:28 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 21 Sep 2020 08:11:44 +0000 (10:11 +0200)
commit7c0d798aabebffaca75368812a71b41b5ff910e4
treeca8f72e4ad2b8fcdc23c2b7bf9b2dab0ac431487
parentdbd3809261d1db11316b7885a85c7150b705f9ab
bus/pci: switch to private kernel driver enum

The rte_kernel_driver enum actually only pointed at PCI drivers and is
only used in the PCI subsystem.
Remove it from the generic device API and use a private enum in the PCI
code.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
14 files changed:
doc/guides/rel_notes/deprecation.rst
doc/guides/rel_notes/release_20_11.rst
drivers/bus/pci/bsd/pci.c
drivers/bus/pci/linux/pci.c
drivers/bus/pci/linux/pci_uio.c
drivers/bus/pci/pci_common.c
drivers/bus/pci/rte_bus_pci.h
drivers/bus/pci/windows/pci.c
drivers/net/hinic/base/hinic_pmd_hwif.c
drivers/net/hns3/hns3_ethdev_vf.c
drivers/net/liquidio/lio_ethdev.c
drivers/net/nfp/nfp_net.c
drivers/net/virtio/virtio_pci.c
lib/librte_eal/include/rte_dev.h