summaryrefslogtreecommitdiff
blob: 83c9c38dd19a141f1d506f8e5b3d512d73ae7024 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
diff -ur ../i855-crt-0.4/dumpreg.c ./dumpreg.c
--- ../i855-crt-0.4/dumpreg.c	2004-05-01 17:50:45.000000000 +0100
+++ ./dumpreg.c	2005-05-31 15:18:12.927156400 +0100
@@ -36,10 +36,11 @@
 		(p = strstr(*buff_ptr, I810_DC100STR_1)) != NULL ||
 		(p = strstr(*buff_ptr, I810_DC100STR_2)) != NULL ||
 		(p = strstr(*buff_ptr, I810_IGSTR)) != NULL ||
-		(p = strstr(*buff_ptr, I810_CFCSTR)) != NULL;
+		(p = strstr(*buff_ptr, I810_CFCSTR)) != NULL ||
 		(p = strstr(*buff_ptr, I830STR)) != NULL ||
 		(p = strstr(*buff_ptr, I845STR)) != NULL ||
-		(p = strstr(*buff_ptr, I865STR)) != NULL ;
+		(p = strstr(*buff_ptr, I865STR)) != NULL ||
+		(p = strstr(*buff_ptr, I915STR)) != NULL ;
 	
 		if(i)
 		{
@@ -89,7 +90,7 @@
 	chip = i810_chip(&buff, &len, pci_f);
 	if (chip == NULL) 
 	{
-		fprintf(stderr, "No know videocard has been found.\n");
+		fprintf(stderr, "No known videocard has been found.\n");
 		exit(1);
 	}
 	pclose(pci_f);
diff -ur ../i855-crt-0.4/i855crt.c ./i855crt.c
--- ../i855-crt-0.4/i855crt.c	2004-05-08 13:27:20.000000000 +0100
+++ ./i855crt.c	2005-05-31 15:17:57.100562408 +0100
@@ -254,14 +254,15 @@
 		(p = strstr(*buff_ptr, I810_DC100STR_1)) != NULL ||
 		(p = strstr(*buff_ptr, I810_DC100STR_2)) != NULL ||
 		(p = strstr(*buff_ptr, I810_IGSTR)) != NULL ||
-		(p = strstr(*buff_ptr, I810_CFCSTR)) != NULL;
+		(p = strstr(*buff_ptr, I810_CFCSTR)) != NULL ||
 		(p = strstr(*buff_ptr, I830STR)) != NULL ||
 		(p = strstr(*buff_ptr, I845STR)) != NULL ||
-		(p = strstr(*buff_ptr, I865STR)) != NULL ;
+		(p = strstr(*buff_ptr, I865STR)) != NULL ||
+		(p = strstr(*buff_ptr, I915STR)) != NULL ;
 	
 		if(i)
 		{
-			fprintf(stderr,"This driver is untested with your videocard !\n");  
+			fprintf(stderr,"This driver is untested with your video card !\n");  
 			return p;
 		}
 		
@@ -493,7 +494,7 @@
 	chip = i810_chip(&buff, &len, pci_f);
 	if (chip == NULL) 
 	{
-		fprintf(stderr, "No know videocard has been found.\n");
+		fprintf(stderr, "No known videocard has been found.\n");
 		exit(1);
 	}
 	pclose(pci_f);
diff -ur ../i855-crt-0.4/i855crt.h ./i855crt.h
--- ../i855-crt-0.4/i855crt.h	2004-05-01 17:06:28.000000000 +0100
+++ ./i855crt.h	2005-05-31 15:07:53.232364328 +0100
@@ -1,3 +1,4 @@
+
 /* 
 * This is part of the source for i855crt driver
 * copyright(c) Merello Andrea 2004
@@ -45,6 +46,7 @@
 #define I845STR			"8086:2562"
 #define I855STR			"8086:3582"
 #define I865STR			"8086:2572"
+#define I915STR			"8086:2592"
 #define MEMSTR			"Memory at"
 #define NONPRSTR		"32-bit, non-prefetchable"