wok-6.x annotate 915resolution/stuff/eeepc901.u @ rev 3357
Up: dosbox (0.73) and remove dep on libiconv
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jun 11 19:51:49 2009 +0200 (2009-06-11) |
parents | 9c8870edc4ee |
children |
rev | line source |
---|---|
pascal@1796 | 1 --- 915resolution.c |
pascal@1796 | 2 +++ 915resolution.c |
jozee@3118 | 3 @@ -56,12 +56,12 @@ |
jozee@3118 | 4 |
jozee@3118 | 5 typedef enum { |
jozee@3118 | 6 CT_UNKWN, CT_830, CT_845G, CT_855GM, CT_865G, CT_915G, CT_915GM, CT_945G, CT_945GM, |
jozee@3118 | 7 - CT_946GZ, CT_G965, CT_Q965 |
jozee@3118 | 8 + CT_946GZ, CT_G965, CT_Q965, CT_965GM |
jozee@3118 | 9 } chipset_type; |
jozee@3118 | 10 |
jozee@3118 | 11 char * chipset_type_names[] = { |
jozee@3118 | 12 "UNKNOWN", "830", "845G", "855GM", "865G", "915G", "915GM", "945G", "945GM", |
jozee@3118 | 13 - "946GZ", "G965", "Q965" |
jozee@3118 | 14 + "946GZ", "G965", "Q965", "965GM" |
jozee@3118 | 15 }; |
jozee@3118 | 16 |
jozee@3118 | 17 typedef enum { |
jozee@3118 | 18 @@ -225,6 +225,10 @@ |
jozee@3118 | 19 type = CT_Q965; |
pascal@1796 | 20 break; |
pascal@1796 | 21 |
jozee@3118 | 22 + case 0x2a008086: |
jozee@3118 | 23 + type = CT_965GM; |
jozee@3118 | 24 + break; |
pascal@1796 | 25 + |
jozee@3118 | 26 default: |
jozee@3118 | 27 type = CT_UNKWN; |
pascal@1796 | 28 break; |
jozee@3118 | 29 @@ -511,6 +515,7 @@ |
jozee@3118 | 30 case CT_946GZ: |
jozee@3118 | 31 case CT_G965: |
jozee@3118 | 32 case CT_Q965: |
jozee@3118 | 33 + case CT_965GM: |
jozee@3118 | 34 outl(0x80000090, 0xcf8); |
jozee@3118 | 35 map->b1 = inb(0xcfd); |
jozee@3118 | 36 map->b2 = inb(0xcfe); |
jozee@3118 | 37 @@ -551,6 +556,7 @@ |
jozee@3118 | 38 case CT_946GZ: |
jozee@3118 | 39 case CT_G965: |
jozee@3118 | 40 case CT_Q965: |
jozee@3118 | 41 + case CT_965GM: |
jozee@3118 | 42 outl(0x80000090, 0xcf8); |
jozee@3118 | 43 outb(map->b1, 0xcfd); |
jozee@3118 | 44 outb(map->b2, 0xcfe); |
jozee@3118 | 45 @@ -809,6 +815,9 @@ |
jozee@3118 | 46 else if (!strcmp(argv[index], "G965")) { |
jozee@3118 | 47 *forced_chipset = CT_G965; |
jozee@3118 | 48 } |
jozee@3118 | 49 + else if (!strcmp(argv[index], "965GM")) { |
jozee@3118 | 50 + *forced_chipset = CT_965GM; |
jozee@3118 | 51 + } |
jozee@3118 | 52 else if (!strcmp(argv[index], "Q965")) { |
jozee@3118 | 53 *forced_chipset = CT_Q965; |
jozee@3118 | 54 } |