wok annotate 915resolution/stuff/915resolution-0.5.3-cedarview.patch @ rev 13074
Up: activeresource to 3.2.6.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jun 25 08:35:57 2012 +0000 (2012-06-25) |
parents | |
children |
rev | line source |
---|---|
pascal@12028 | 1 --- 915resolution.c |
pascal@12028 | 2 +++ 915resolution.c |
pascal@12028 | 3 @@ -56,12 +56,12 @@ |
pascal@12028 | 4 |
pascal@12028 | 5 typedef enum { |
pascal@12028 | 6 CT_UNKWN, CT_500GMA, CT_830, CT_845G, CT_855GM, CT_865G, CT_915G, CT_915GM, CT_945G, CT_945GM, |
pascal@12028 | 7 - CT_945GME, CT_946GZ, CT_G965, CT_Q965, CT_965GM |
pascal@12028 | 8 + CT_945GME, CT_946GZ, CT_G965, CT_Q965, CT_965GM, CT_Cedarview |
pascal@12028 | 9 } chipset_type; |
pascal@12028 | 10 |
pascal@12028 | 11 char * chipset_type_names[] = { |
pascal@12028 | 12 "UNKNOWN", "500GMA", "830", "845G", "855GM", "865G", "915G", "915GM", "945G", "945GM", |
pascal@12028 | 13 - "945GME", "946GZ", "G965", "Q965", "965GM" |
pascal@12028 | 14 + "945GME", "946GZ", "G965", "Q965", "965GM", "Cedarview" |
pascal@12028 | 15 }; |
pascal@12028 | 16 |
pascal@12028 | 17 typedef enum { |
pascal@12028 | 18 @@ -237,6 +237,10 @@ |
pascal@12028 | 19 type = CT_965GM; |
pascal@12028 | 20 break; |
pascal@12028 | 21 |
pascal@12028 | 22 + case 0xbf38086: |
pascal@12028 | 23 + type = CT_Cedarview; |
pascal@12028 | 24 + break; |
pascal@12028 | 25 + |
pascal@12028 | 26 default: |
pascal@12028 | 27 type = CT_UNKWN; |
pascal@12028 | 28 break; |
pascal@12028 | 29 @@ -526,6 +530,7 @@ |
pascal@12028 | 30 case CT_G965: |
pascal@12028 | 31 case CT_Q965: |
pascal@12028 | 32 case CT_965GM: |
pascal@12028 | 33 + case CT_Cedarview: |
pascal@12028 | 34 outl(0x80000090, 0xcf8); |
pascal@12028 | 35 map->b1 = inb(0xcfd); |
pascal@12028 | 36 map->b2 = inb(0xcfe); |
pascal@12028 | 37 @@ -569,6 +574,7 @@ |
pascal@12028 | 38 case CT_G965: |
pascal@12028 | 39 case CT_Q965: |
pascal@12028 | 40 case CT_965GM: |
pascal@12028 | 41 + case CT_Cedarview: |
pascal@12028 | 42 outl(0x80000090, 0xcf8); |
pascal@12028 | 43 outb(map->b1, 0xcfd); |
pascal@12028 | 44 outb(map->b2, 0xcfe); |
pascal@12028 | 45 @@ -837,6 +843,9 @@ |
pascal@12028 | 46 } |
pascal@12028 | 47 else if (!strcmp(argv[index], "965GM")) { |
pascal@12028 | 48 *forced_chipset = CT_965GM; |
pascal@12028 | 49 + } |
pascal@12028 | 50 + else if (!strcmp(argv[index], "Cedarview")) { |
pascal@12028 | 51 + *forced_chipset = CT_Cedarview; |
pascal@12028 | 52 } |
pascal@12028 | 53 else { |
pascal@12028 | 54 *forced_chipset = CT_UNKWN; |