summaryrefslogtreecommitdiff
path: root/drivers/video/intelfb/intelfb.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-03-23 21:53:05 +1100
committerDave Airlie <airlied@linux.ie>2006-04-03 11:43:28 +1000
commit9a90603f65dd5046ddcd586158abcad7784892b6 (patch)
treee522d2fbc83a491ed50cee596a4c5d983460c2b4 /drivers/video/intelfb/intelfb.h
parent8b91b0b4f2d731b92f59bc82492769a09b4955a6 (diff)
intelfb: add i945GM support
Untested i945GM support just add the framework. Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/video/intelfb/intelfb.h')
-rw-r--r--drivers/video/intelfb/intelfb.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/video/intelfb/intelfb.h b/drivers/video/intelfb/intelfb.h
index de9875c0c08f..43128f9b68f0 100644
--- a/drivers/video/intelfb/intelfb.h
+++ b/drivers/video/intelfb/intelfb.h
@@ -8,9 +8,9 @@
/*** Version/name ***/
-#define INTELFB_VERSION "0.9.3"
+#define INTELFB_VERSION "0.9.4"
#define INTELFB_MODULE_NAME "intelfb"
-#define SUPPORTED_CHIPSETS "830M/845G/852GM/855GM/865G/915G/915GM/945G"
+#define SUPPORTED_CHIPSETS "830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM"
/*** Debug/feature defines ***/
@@ -53,6 +53,7 @@
#define PCI_DEVICE_ID_INTEL_915G 0x2582
#define PCI_DEVICE_ID_INTEL_915GM 0x2592
#define PCI_DEVICE_ID_INTEL_945G 0x2772
+#define PCI_DEVICE_ID_INTEL_945GM 0x27A2
/* Size of MMIO region */
#define INTEL_REG_SIZE 0x80000
@@ -127,7 +128,8 @@ enum intel_chips {
INTEL_865G,
INTEL_915G,
INTEL_915GM,
- INTEL_945G
+ INTEL_945G,
+ INTEL_945GM,
};
struct intelfb_hwstate {
@@ -284,7 +286,7 @@ struct intelfb_info {
int pll_index;
};
-#define IS_I9xx(dinfo) (((dinfo)->chipset == INTEL_915G)||(dinfo->chipset == INTEL_915GM)||((dinfo)->chipset == INTEL_945G))
+#define IS_I9xx(dinfo) (((dinfo)->chipset == INTEL_915G)||(dinfo->chipset == INTEL_915GM)||((dinfo)->chipset == INTEL_945G)||(dinfo->chipset==INTEL_945GM))
/*** function prototypes ***/