]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/PciBusNoEnumerationDxe/PciBus.h
1. added functions header for MACROS in PCI22.h.
[mirror_edk2.git] / DuetPkg / PciBusNoEnumerationDxe / PciBus.h
index 420c868bbea527adf4220a5b153a16c3238f1bd8..039967a98e77473c56f5c71e07a68f456efa3632 100644 (file)
@@ -220,5 +220,6 @@ extern UINT64                      gAllZero;
 \r
 #define IS_ISA_BRIDGE(_p)       IS_CLASS2 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_BRIDGE_ISA)  \r
 #define IS_INTEL_ISA_BRIDGE(_p) (IS_CLASS2 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_BRIDGE_ISA_PDECODE) && ((_p)->Hdr.VendorId == 0x8086) && ((_p)->Hdr.DeviceId == 0x7110))\r
+#define IS_PCI_GFX(_p)     IS_CLASS2 (_p, PCI_CLASS_DISPLAY, PCI_CLASS_DISPLAY_OTHER)\r
 \r
 #endif\r