Chameleon

Chameleon Commit Details

Date:2010-03-01 20:27:07 (14 years 1 month ago)
Author:Andy Vandijck
Commit:119
Parents: 118
Message:
Changes:
M/branches/andyvand/i386/libsaio/pci_setup.c
M/branches/andyvand/i386/libsaio/915resolution.c
M/branches/andyvand/revision
M/branches/andyvand/i386/libsaio/gma.c

File differences

branches/andyvand/i386/libsaio/gma.c
7474
7575
7676
77
7778
7879
7980
......
104105
105106
106107
107
108
108109
109110
110111
uint32_t bar[7];
char *model;
uint8_t BuiltIn = 0x00;
uint8_t ClassFix[4] = { 0x00, 0x00, 0x03, 0x00 };
devicepath = get_pci_dev_path(gma_dev);
if (model == (char *)"Mobile GMA950") {
devprop_add_value(device, "AAPL,HasPanel", reg_TRUE, 4);
devprop_add_value(device, "built-in", &BuiltIn, 1);
devprop_add_value(device, "AAPL,HasPanel", (uint8_t)0x00, 1); // needed for some of the cards
devprop_add_value(device, "class-code", ClassFix, 4);
} else if (model == (char *)"Desktop GMA950") {
BuiltIn = 0x01;
devprop_add_value(device, "built-in", &BuiltIn, 1);
branches/andyvand/i386/libsaio/pci_setup.c
4343
4444
4545
46
4647
4748
4849
break;
case PCI_CLASS_DISPLAY_VGA:
case PCI_CLASS_DISPLAY_OTHER:
if (do_gfx_devprop)
switch (current->vendor_id)
{
branches/andyvand/i386/libsaio/915resolution.c
6666
6767
6868
69
69
70
71
72
73
7074
7175
7276
73
77
78
79
80
81
7482
7583
7684
case 0x27a08086:
type = CT_945GM;
break;
case 0x27a68086:
type = CT_945GM;
break;
case 0x27ac8086:
type = CT_945GME;
break;
case 0x27ae8086:
type = CT_945GM;
break;
case 0x29708086:
type = CT_946GZ;
break;
branches/andyvand/revision
1
1
67
69:70

Archive Download the corresponding diff file

Revision: 119