bus/pci: configure PCI bus master
authorHaiyue Wang <haiyue.wang@intel.com>
Mon, 24 May 2021 01:23:43 +0000 (09:23 +0800)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 4 Jun 2021 07:38:08 +0000 (09:38 +0200)
commit21f6adec073f89bf953fb17ddf388399a659efce
tree6fe9340f4fde16b88939c565dd211e124e5c9c84
parent64307fad7d2b6af3be5e19833e404312f01f6ce5
bus/pci: configure PCI bus master

Add the API to set 'Bus Master Enable' bit to be enabled or disabled in
the PCI command register.

Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
drivers/bus/pci/pci_common.c
drivers/bus/pci/rte_bus_pci.h
drivers/bus/pci/version.map
lib/pci/rte_pci.h