summaryrefslogtreecommitdiff
blob: 5aea3a7dd96c5b3a1a054d12c4ba4b9cc9b16464 (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
--- a/dumpreg.c
+++ b/dumpreg.c
@@ -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);
--- a/i855crt.c
+++ b/i855crt.c
@@ -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);
--- a/i855crt.h
+++ b/i855crt.h
@@ -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"