rpms/i810switch/FC-6 i810switch-0.6.5-add-i945.patch,NONE,1.1

Matt Domsch (mdomsch) fedora-extras-commits at redhat.com
Fri Sep 28 21:01:15 UTC 2007


Author: mdomsch

Update of /cvs/extras/rpms/i810switch/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22931

Added Files:
	i810switch-0.6.5-add-i945.patch 
Log Message:
add i945 support

i810switch-0.6.5-add-i945.patch:

--- NEW FILE i810switch-0.6.5-add-i945.patch ---
--- i810switch-0.6.5/i810switch.c	2005-06-12 06:36:36.000000000 +0200
+++ i810switch-0.6.5/i810switch.c	2007-05-12 17:54:57.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"
 
@@ -272,7 +273,9 @@
 			return p;
 		}
 
-		i = (p = strstr(*buff_ptr, I855STR)) != NULL;
+		i = (p = strstr(*buff_ptr, I855STR)) != NULL ||
+                (p = strstr(*buff_ptr, I945STR)) != NULL;
+
 		if (i)
 		{
 			*chiptype = I855;




More information about the fedora-extras-commits mailing list