SOURCES: i810switch-macbooksup.patch (NEW) - support for i945
shadzik
shadzik at pld-linux.org
Mon Oct 6 16:34:13 CEST 2008
Author: shadzik Date: Mon Oct 6 14:34:13 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- support for i945
---- Files affected:
SOURCES:
i810switch-macbooksup.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/i810switch-macbooksup.patch
diff -u /dev/null SOURCES/i810switch-macbooksup.patch:1.1
--- /dev/null Mon Oct 6 16:34:14 2008
+++ SOURCES/i810switch-macbooksup.patch Mon Oct 6 16:34:08 2008
@@ -0,0 +1,24 @@
+--- i810switch.c.old 2005-06-12 06:36:36.000000000 +0200
++++ i810switch.c 2007-07-03 02:06:31.000000000 +0200
+@@ -60,6 +60,7 @@
+ #define I855STR "8086:3582"
+ //#define I865STR "8086:2572"
+ #define I915STR "8086:2592"
++#define I945STR "8086:27a2"
+ #define MEMSTR "Memory at"
+ #define NONPRSTR "32-bit, non-prefetchable"
+
+@@ -279,6 +280,13 @@
+ return p;
+ }
+
++ i = (p = strstr(*buff_ptr, I945STR)) != NULL;
++ if (i)
++ {
++ *chiptype = I855;
++ return p;
++ }
++
+ i = (p = strstr(*buff_ptr, I915STR)) != NULL;
+ if (i)
+ {
================================================================
More information about the pld-cvs-commit
mailing list