diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/i855crt/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/i855crt/files')
-rw-r--r-- | x11-misc/i855crt/files/i855crt-i915support.diff | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/x11-misc/i855crt/files/i855crt-i915support.diff b/x11-misc/i855crt/files/i855crt-i915support.diff new file mode 100644 index 000000000000..5aea3a7dd96c --- /dev/null +++ b/x11-misc/i855crt/files/i855crt-i915support.diff @@ -0,0 +1,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" + |