summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2005-05-31 17:58:26 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2005-05-31 17:58:26 +0000
commit27feb0f3474c1e21557225e10b13558e002c0ebf (patch)
tree0870aeaa1ebb94256db68c70e9ce015fbdcca4a1 /src/common.h
parent2d10e8dc8184b0514e8ac9f835a06b85d609bb1b (diff)
Add Intel(R) 945G support
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 0d901f95..85a24ab3 100644
--- a/src/common.h
+++ b/src/common.h
@@ -317,6 +317,11 @@ extern int I810_DEBUG;
#define PCI_CHIP_E7221_G_BRIDGE 0x2580
#endif
+#ifndef PCI_CHIP_I945_G
+#define PCI_CHIP_I945_G 0x2772
+#define PCI_CHIP_I945_G_BRIDGE 0x2770
+#endif
+
#define IS_I810(pI810) (pI810->PciInfo->chipType == PCI_CHIP_I810 || \
pI810->PciInfo->chipType == PCI_CHIP_I810_DC100 || \
pI810->PciInfo->chipType == PCI_CHIP_I810_E)
@@ -329,6 +334,7 @@ extern int I810_DEBUG;
#define IS_I865G(pI810) (pI810->PciInfo->chipType == PCI_CHIP_I865_G)
#define IS_I915G(pI810) (pI810->PciInfo->chipType == PCI_CHIP_I915_G || pI810->PciInfo->chipType == PCI_CHIP_E7221_G)
#define IS_I915GM(pI810) (pI810->PciInfo->chipType == PCI_CHIP_I915_GM)
+#define IS_I945G(pI810) (pI810->PciInfo->chipType == PCI_CHIP_I945_G)
#define IS_MOBILE(pI810) (IS_I830(pI810) || IS_I85X(pI810) || IS_I915GM(pI810))