wok-next diff 915resolution/stuff/915resolution-0.5.3-cedarview.patch @ rev 16992
mate-polkit-dev: Remove wget url
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sat Aug 09 13:07:57 2014 -0300 (2014-08-09) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/915resolution/stuff/915resolution-0.5.3-cedarview.patch Sat Aug 09 13:07:57 2014 -0300 1.3 @@ -0,0 +1,54 @@ 1.4 +--- 915resolution.c 1.5 ++++ 915resolution.c 1.6 +@@ -56,12 +56,12 @@ 1.7 + 1.8 + typedef enum { 1.9 + CT_UNKWN, CT_500GMA, CT_830, CT_845G, CT_855GM, CT_865G, CT_915G, CT_915GM, CT_945G, CT_945GM, 1.10 +- CT_945GME, CT_946GZ, CT_G965, CT_Q965, CT_965GM 1.11 ++ CT_945GME, CT_946GZ, CT_G965, CT_Q965, CT_965GM, CT_Cedarview 1.12 + } chipset_type; 1.13 + 1.14 + char * chipset_type_names[] = { 1.15 + "UNKNOWN", "500GMA", "830", "845G", "855GM", "865G", "915G", "915GM", "945G", "945GM", 1.16 +- "945GME", "946GZ", "G965", "Q965", "965GM" 1.17 ++ "945GME", "946GZ", "G965", "Q965", "965GM", "Cedarview" 1.18 + }; 1.19 + 1.20 + typedef enum { 1.21 +@@ -237,6 +237,10 @@ 1.22 + type = CT_965GM; 1.23 + break; 1.24 + 1.25 ++ case 0xbf38086: 1.26 ++ type = CT_Cedarview; 1.27 ++ break; 1.28 ++ 1.29 + default: 1.30 + type = CT_UNKWN; 1.31 + break; 1.32 +@@ -526,6 +530,7 @@ 1.33 + case CT_G965: 1.34 + case CT_Q965: 1.35 + case CT_965GM: 1.36 ++ case CT_Cedarview: 1.37 + outl(0x80000090, 0xcf8); 1.38 + map->b1 = inb(0xcfd); 1.39 + map->b2 = inb(0xcfe); 1.40 +@@ -569,6 +574,7 @@ 1.41 + case CT_G965: 1.42 + case CT_Q965: 1.43 + case CT_965GM: 1.44 ++ case CT_Cedarview: 1.45 + outl(0x80000090, 0xcf8); 1.46 + outb(map->b1, 0xcfd); 1.47 + outb(map->b2, 0xcfe); 1.48 +@@ -837,6 +843,9 @@ 1.49 + } 1.50 + else if (!strcmp(argv[index], "965GM")) { 1.51 + *forced_chipset = CT_965GM; 1.52 ++ } 1.53 ++ else if (!strcmp(argv[index], "Cedarview")) { 1.54 ++ *forced_chipset = CT_Cedarview; 1.55 + } 1.56 + else { 1.57 + *forced_chipset = CT_UNKWN;