wok-current view 915resolution/stuff/eeepc901.u @ rev 3687

Add: tcllib
author Paul Issott <paul@slitaz.org>
date Wed Jul 15 17:55:20 2009 +0000 (2009-07-15)
parents 9c8870edc4ee
children
line source
1 --- 915resolution.c
2 +++ 915resolution.c
3 @@ -56,12 +56,12 @@
5 typedef enum {
6 CT_UNKWN, CT_830, CT_845G, CT_855GM, CT_865G, CT_915G, CT_915GM, CT_945G, CT_945GM,
7 - CT_946GZ, CT_G965, CT_Q965
8 + CT_946GZ, CT_G965, CT_Q965, CT_965GM
9 } chipset_type;
11 char * chipset_type_names[] = {
12 "UNKNOWN", "830", "845G", "855GM", "865G", "915G", "915GM", "945G", "945GM",
13 - "946GZ", "G965", "Q965"
14 + "946GZ", "G965", "Q965", "965GM"
15 };
17 typedef enum {
18 @@ -225,6 +225,10 @@
19 type = CT_Q965;
20 break;
22 + case 0x2a008086:
23 + type = CT_965GM;
24 + break;
25 +
26 default:
27 type = CT_UNKWN;
28 break;
29 @@ -511,6 +515,7 @@
30 case CT_946GZ:
31 case CT_G965:
32 case CT_Q965:
33 + case CT_965GM:
34 outl(0x80000090, 0xcf8);
35 map->b1 = inb(0xcfd);
36 map->b2 = inb(0xcfe);
37 @@ -551,6 +556,7 @@
38 case CT_946GZ:
39 case CT_G965:
40 case CT_Q965:
41 + case CT_965GM:
42 outl(0x80000090, 0xcf8);
43 outb(map->b1, 0xcfd);
44 outb(map->b2, 0xcfe);
45 @@ -809,6 +815,9 @@
46 else if (!strcmp(argv[index], "G965")) {
47 *forced_chipset = CT_G965;
48 }
49 + else if (!strcmp(argv[index], "965GM")) {
50 + *forced_chipset = CT_965GM;
51 + }
52 else if (!strcmp(argv[index], "Q965")) {
53 *forced_chipset = CT_Q965;
54 }