]> git.pld-linux.org Git - packages/915resolution.git/commitdiff
- 965GM support
authorTomasz Pala <gotar@pld-linux.org>
Tue, 2 Sep 2008 15:27:45 +0000 (15:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    915resolution-i965GM.patch -> 1.1

915resolution-i965GM.patch [new file with mode: 0644]

diff --git a/915resolution-i965GM.patch b/915resolution-i965GM.patch
new file mode 100644 (file)
index 0000000..159dda9
--- /dev/null
@@ -0,0 +1,54 @@
+--- 915resolution.c.orig       2007-04-15 12:46:56.000000000 +0200
++++ 915resolution.c    2008-07-27 14:39:17.000000000 +0200
+@@ -56,12 +56,12 @@
+ typedef enum {
+     CT_UNKWN, CT_830, CT_845G, CT_855GM, CT_865G, CT_915G, CT_915GM, CT_945G, CT_945GM,
+-    CT_946GZ, CT_G965, CT_Q965
++    CT_946GZ, CT_G965, CT_Q965, CT_965GM
+ } chipset_type;
+ char * chipset_type_names[] = {
+     "UNKNOWN", "830",  "845G", "855GM", "865G", "915G", "915GM", "945G", "945GM",
+-    "946GZ",   "G965", "Q965"
++    "946GZ",   "G965", "Q965", "965GM"
+ };
+ typedef enum {
+@@ -225,6 +225,10 @@
+         type = CT_Q965;
+         break;
++    case 0x2a008086:
++        type = CT_965GM;
++        break;
++
+     default:
+         type = CT_UNKWN;
+         break;
+@@ -511,6 +515,7 @@
+     case CT_946GZ:
+     case CT_G965:
+     case CT_Q965:
++    case CT_965GM:
+         outl(0x80000090, 0xcf8);
+         map->b1 = inb(0xcfd);
+         map->b2 = inb(0xcfe);
+@@ -551,6 +556,7 @@
+     case CT_946GZ:
+     case CT_G965:
+     case CT_Q965:
++    case CT_965GM:
+         outl(0x80000090, 0xcf8);
+         outb(map->b1, 0xcfd);
+         outb(map->b2, 0xcfe);
+@@ -812,6 +818,9 @@
+         else if (!strcmp(argv[index], "Q965")) {
+             *forced_chipset = CT_Q965;
+         }
++        else if (!strcmp(argv[index], "965GM")) {
++            *forced_chipset = CT_965GM;
++        }
+         else {
+             *forced_chipset = CT_UNKWN;
+         }
This page took 0.092674 seconds and 4 git commands to generate.