wok-current diff 915resolution/stuff/eeepc901.u @ rev 3837
Fix slitaz-menu and rm slitaz-doc-menu (already provided)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Aug 07 11:41:11 2009 +0200 (2009-08-07) |
parents | 9c8870edc4ee |
children |
line diff
1.1 --- a/915resolution/stuff/eeepc901.u Mon Dec 01 09:20:19 2008 +0000 1.2 +++ b/915resolution/stuff/eeepc901.u Fri Aug 07 11:41:11 2009 +0200 1.3 @@ -1,13 +1,54 @@ 1.4 --- 915resolution.c 1.5 +++ 915resolution.c 1.6 -@@ -213,6 +213,10 @@ 1.7 - type = CT_945GM; 1.8 +@@ -56,12 +56,12 @@ 1.9 + 1.10 + typedef enum { 1.11 + CT_UNKWN, CT_830, CT_845G, CT_855GM, CT_865G, CT_915G, CT_915GM, CT_945G, CT_945GM, 1.12 +- CT_946GZ, CT_G965, CT_Q965 1.13 ++ CT_946GZ, CT_G965, CT_Q965, CT_965GM 1.14 + } chipset_type; 1.15 + 1.16 + char * chipset_type_names[] = { 1.17 + "UNKNOWN", "830", "845G", "855GM", "865G", "915G", "915GM", "945G", "945GM", 1.18 +- "946GZ", "G965", "Q965" 1.19 ++ "946GZ", "G965", "Q965", "965GM" 1.20 + }; 1.21 + 1.22 + typedef enum { 1.23 +@@ -225,6 +225,10 @@ 1.24 + type = CT_Q965; 1.25 break; 1.26 1.27 -+ case 0x27ac8086: 1.28 -+ type = CT_945GM; 1.29 -+ break; 1.30 ++ case 0x2a008086: 1.31 ++ type = CT_965GM; 1.32 ++ break; 1.33 + 1.34 - case 0x29708086: 1.35 - type = CT_946GZ; 1.36 + default: 1.37 + type = CT_UNKWN; 1.38 break; 1.39 +@@ -511,6 +515,7 @@ 1.40 + case CT_946GZ: 1.41 + case CT_G965: 1.42 + case CT_Q965: 1.43 ++ case CT_965GM: 1.44 + outl(0x80000090, 0xcf8); 1.45 + map->b1 = inb(0xcfd); 1.46 + map->b2 = inb(0xcfe); 1.47 +@@ -551,6 +556,7 @@ 1.48 + case CT_946GZ: 1.49 + case CT_G965: 1.50 + case CT_Q965: 1.51 ++ case CT_965GM: 1.52 + outl(0x80000090, 0xcf8); 1.53 + outb(map->b1, 0xcfd); 1.54 + outb(map->b2, 0xcfe); 1.55 +@@ -809,6 +815,9 @@ 1.56 + else if (!strcmp(argv[index], "G965")) { 1.57 + *forced_chipset = CT_G965; 1.58 + } 1.59 ++ else if (!strcmp(argv[index], "965GM")) { 1.60 ++ *forced_chipset = CT_965GM; 1.61 ++ } 1.62 + else if (!strcmp(argv[index], "Q965")) { 1.63 + *forced_chipset = CT_Q965; 1.64 + }