diff options
author | Phil Endecott <phil_wueww_endecott@chezphil.org> | 2008-10-16 01:03:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 14:21:42 -0400 |
commit | 3f7a26b4b9768fe31597d1af35106aa512dc3742 (patch) | |
tree | 943974f632e931c107868e896f1441fad24010e7 /drivers/video/intelfb/intelfbdrv.c | |
parent | 3b25613c276d390d1dd1d69f238ee779611ccc6c (diff) |
intelfb: support 945GME (as used in ASUS Eee 901)
Add support for Intel's 945GME graphics chip to the intelfb driver. I
have assumed that the 945GME is identical to the already-supported 945GM
apart from its PCI IDs; this is based on a quick look at the X driver for
these chips which seems to treat them identically.
The 945GME is used in the ASUS Eee 901, and I coded this in the hope that
I'd be able to use it to get a console at the native 1024x600 resolution
which is not known to the BIOS. I realised too late that the intelfb
driver does not support mode changing on laptops, so it won't be any
use for me.
Signed-off-by: Phil Endecott <spam_from_intelfb@chezphil.org>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/intelfb/intelfbdrv.c')
-rw-r--r-- | drivers/video/intelfb/intelfbdrv.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/video/intelfb/intelfbdrv.c b/drivers/video/intelfb/intelfbdrv.c index e44303f9bc52..a09e23649357 100644 --- a/drivers/video/intelfb/intelfbdrv.c +++ b/drivers/video/intelfb/intelfbdrv.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * intelfb | 2 | * intelfb |
3 | * | 3 | * |
4 | * Linux framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G/915GM/ | 4 | * Linux framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G/915GM/ |
5 | * 945G/945GM/965G/965GM integrated graphics chips. | 5 | * 945G/945GM/945GME/965G/965GM integrated graphics chips. |
6 | * | 6 | * |
7 | * Copyright © 2002, 2003 David Dawes <dawes@xfree86.org> | 7 | * Copyright © 2002, 2003 David Dawes <dawes@xfree86.org> |
8 | * 2004 Sylvain Meyer | 8 | * 2004 Sylvain Meyer |
@@ -102,6 +102,9 @@ | |||
102 | * | 102 | * |
103 | * 04/2008 - Version 0.9.5 | 103 | * 04/2008 - Version 0.9.5 |
104 | * Add support for 965G/965GM. (Maik Broemme <mbroemme@plusserver.de>) | 104 | * Add support for 965G/965GM. (Maik Broemme <mbroemme@plusserver.de>) |
105 | * | ||
106 | * 08/2008 - Version 0.9.6 | ||
107 | * Add support for 945GME. (Phil Endecott <spam_from_intelfb@chezphil.org>) | ||
105 | */ | 108 | */ |
106 | 109 | ||
107 | #include <linux/module.h> | 110 | #include <linux/module.h> |
@@ -183,6 +186,7 @@ static struct pci_device_id intelfb_pci_table[] __devinitdata = { | |||
183 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_915GM, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, INTELFB_CLASS_MASK, INTEL_915GM }, | 186 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_915GM, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, INTELFB_CLASS_MASK, INTEL_915GM }, |
184 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_945G, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, INTELFB_CLASS_MASK, INTEL_945G }, | 187 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_945G, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, INTELFB_CLASS_MASK, INTEL_945G }, |
185 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_945GM, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, INTELFB_CLASS_MASK, INTEL_945GM }, | 188 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_945GM, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, INTELFB_CLASS_MASK, INTEL_945GM }, |
189 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_945GME, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, INTELFB_CLASS_MASK, INTEL_945GME }, | ||
186 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_965G, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, INTELFB_CLASS_MASK, INTEL_965G }, | 190 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_965G, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, INTELFB_CLASS_MASK, INTEL_965G }, |
187 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_965GM, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, INTELFB_CLASS_MASK, INTEL_965GM }, | 191 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_965GM, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, INTELFB_CLASS_MASK, INTEL_965GM }, |
188 | { 0, } | 192 | { 0, } |
@@ -555,6 +559,7 @@ static int __devinit intelfb_pci_register(struct pci_dev *pdev, | |||
555 | (ent->device == PCI_DEVICE_ID_INTEL_915GM) || | 559 | (ent->device == PCI_DEVICE_ID_INTEL_915GM) || |
556 | (ent->device == PCI_DEVICE_ID_INTEL_945G) || | 560 | (ent->device == PCI_DEVICE_ID_INTEL_945G) || |
557 | (ent->device == PCI_DEVICE_ID_INTEL_945GM) || | 561 | (ent->device == PCI_DEVICE_ID_INTEL_945GM) || |
562 | (ent->device == PCI_DEVICE_ID_INTEL_945GME) || | ||
558 | (ent->device == PCI_DEVICE_ID_INTEL_965G) || | 563 | (ent->device == PCI_DEVICE_ID_INTEL_965G) || |
559 | (ent->device == PCI_DEVICE_ID_INTEL_965GM)) { | 564 | (ent->device == PCI_DEVICE_ID_INTEL_965GM)) { |
560 | 565 | ||