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:
parent
7e5c2865d7
commit
0bd2daf1c5
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue