hv: pci: remove host bridge BDF definition

We should check whether a PCI device is host bridge or not by Base Class (06h)
and Sub-Class (00h).

Tracked-On: #4550
Signed-off-by: Li Fei1 <fei1.li@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Li Fei1 2020-06-01 16:27:55 +08:00 committed by wenlingz
parent 7e5c2865d7
commit 0bd2daf1c5
2 changed files with 0 additions and 2 deletions

View File

@ -22,7 +22,6 @@
#define PTDEV_HI_MMIO_SIZE 0UL
#define HOST_BRIDGE .pbdf.bits = {.b = 0x00U, .d = 0x00U, .f = 0x00U}
#define VGA_COMPATIBLE_CONTROLLER_0 .pbdf.bits = {.b = 0x00U, .d = 0x02U, .f = 0x00U}, \
.vbar_base[0] = 0xa0000000UL, \
.vbar_base[2] = 0x90000000UL

View File

@ -183,7 +183,6 @@
#define PCIR_AF_CTRL 0x4U
#define PCIM_AF_FLR 0x1U
#define HOST_BRIDGE_BDF 0U
#define PCI_STD_NUM_BARS 6U
union pci_bdf {