diff options
author | 2008-07-29 20:33:50 +0000 | |
---|---|---|
committer | 2008-07-29 20:33:50 +0000 | |
commit | 81b589ee93461a30e75ad9b6b0d0a8fe93c8bb7f (patch) | |
tree | 333daeb7f5a7779fc88729988bb702d2719f4a91 /sys-apps/915resolution/files | |
parent | Version bump (bug #183434), allow eautoreconf to be recursive (bug #226127). ... (diff) | |
download | historical-81b589ee93461a30e75ad9b6b0d0a8fe93c8bb7f.tar.gz historical-81b589ee93461a30e75ad9b6b0d0a8fe93c8bb7f.tar.bz2 historical-81b589ee93461a30e75ad9b6b0d0a8fe93c8bb7f.zip |
Add patch contributed by David Krapohl <david.krapohl@gmail.com> to add support for Intel 965GM (bug #186661). Clean out older version.
Package-Manager: portage-2.2_rc4/cvs/Linux 2.6.24-gentoo-r4 x86_64
Diffstat (limited to 'sys-apps/915resolution/files')
-rw-r--r-- | sys-apps/915resolution/files/915resolution-0.5.3-965GM.patch | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/sys-apps/915resolution/files/915resolution-0.5.3-965GM.patch b/sys-apps/915resolution/files/915resolution-0.5.3-965GM.patch new file mode 100644 index 000000000000..5e25ea652797 --- /dev/null +++ b/sys-apps/915resolution/files/915resolution-0.5.3-965GM.patch @@ -0,0 +1,55 @@ +diff -Nru 915resolution-0.5.3/915resolution.c_orig 915resolution-0.5.3/915resolution.c +--- 915resolution-0.5.3/915resolution.c_orig 2007-04-15 12:46:56.000000000 +0200 ++++ 915-resolution-0.5.3/915resolution.c 2007-07-15 21:21:05.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); +@@ -809,6 +815,9 @@ + else if (!strcmp(argv[index], "G965")) { + *forced_chipset = CT_G965; + } ++ else if (!strcmp(argv[index], "965GM")) { ++ *forced_chipset = CT_965GM; ++ } + else if (!strcmp(argv[index], "Q965")) { + *forced_chipset = CT_Q965; + } |