wok-stable rev 3118

update 915 resolution with latest patch from Arch
author Rohit Joshi <jozee@slitaz.org>
date Mon May 18 17:40:11 2009 +0000 (2009-05-18)
parents f2968cc8e5fe
children 0b54a70ec4b1
files 915resolution/receipt 915resolution/stuff/eeepc901.u
line diff
     1.1 --- a/915resolution/receipt	Mon May 18 21:47:38 2009 +0200
     1.2 +++ b/915resolution/receipt	Mon May 18 17:40:11 2009 +0000
     1.3 @@ -20,7 +20,7 @@
     1.4  		touch done.$i
     1.5  	done
     1.6  	make clean && make
     1.7 -	make
     1.8 +	#make
     1.9  }
    1.10  
    1.11  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/915resolution/stuff/eeepc901.u	Mon May 18 21:47:38 2009 +0200
     2.2 +++ b/915resolution/stuff/eeepc901.u	Mon May 18 17:40:11 2009 +0000
     2.3 @@ -1,13 +1,54 @@
     2.4  --- 915resolution.c
     2.5  +++ 915resolution.c
     2.6 -@@ -213,6 +213,10 @@
     2.7 -         type = CT_945GM;
     2.8 +@@ -56,12 +56,12 @@
     2.9 + 
    2.10 + typedef enum {
    2.11 +     CT_UNKWN, CT_830, CT_845G, CT_855GM, CT_865G, CT_915G, CT_915GM, CT_945G, CT_945GM,
    2.12 +-    CT_946GZ, CT_G965, CT_Q965
    2.13 ++    CT_946GZ, CT_G965, CT_Q965, CT_965GM
    2.14 + } chipset_type;
    2.15 + 
    2.16 + char * chipset_type_names[] = {
    2.17 +     "UNKNOWN", "830",  "845G", "855GM", "865G", "915G", "915GM", "945G", "945GM",
    2.18 +-    "946GZ",   "G965", "Q965"
    2.19 ++    "946GZ",   "G965", "Q965", "965GM"
    2.20 + };
    2.21 + 
    2.22 + typedef enum {
    2.23 +@@ -225,6 +225,10 @@
    2.24 +         type = CT_Q965;
    2.25           break;
    2.26   
    2.27 -+    case 0x27ac8086:
    2.28 -+        type = CT_945GM;
    2.29 -+        break;
    2.30 ++    case 0x2a008086:
    2.31 ++    	type = CT_965GM;
    2.32 ++	break;
    2.33  +
    2.34 -     case 0x29708086:
    2.35 -         type = CT_946GZ;
    2.36 +     default:
    2.37 +         type = CT_UNKWN;
    2.38           break;
    2.39 +@@ -511,6 +515,7 @@
    2.40 +     case CT_946GZ:
    2.41 +     case CT_G965:
    2.42 +     case CT_Q965:
    2.43 ++    case CT_965GM:
    2.44 +         outl(0x80000090, 0xcf8);
    2.45 +         map->b1 = inb(0xcfd);
    2.46 +         map->b2 = inb(0xcfe);
    2.47 +@@ -551,6 +556,7 @@
    2.48 +     case CT_946GZ:
    2.49 +     case CT_G965:
    2.50 +     case CT_Q965:
    2.51 ++    case CT_965GM:
    2.52 +         outl(0x80000090, 0xcf8);
    2.53 +         outb(map->b1, 0xcfd);
    2.54 +         outb(map->b2, 0xcfe);
    2.55 +@@ -809,6 +815,9 @@
    2.56 +         else if (!strcmp(argv[index], "G965")) {
    2.57 +             *forced_chipset = CT_G965;
    2.58 +         }
    2.59 ++	else if (!strcmp(argv[index], "965GM")) {
    2.60 ++	    *forced_chipset = CT_965GM;
    2.61 ++	}
    2.62 +         else if (!strcmp(argv[index], "Q965")) {
    2.63 +             *forced_chipset = CT_Q965;
    2.64 +         }