Chameleon

Chameleon Commit Details

Date:2015-04-30 14:38:51 (4 years 3 months ago)
Author:ErmaC
Commit:2667
Parents: 2666
Message:Correction for 0112 and 0122 gma device.
Changes:
M/trunk/i386/libsaio/gma.c

File differences

trunk/i386/libsaio/gma.c
676676
677677
678678
679
680
679
680
681681
682
683
684
682
683
684
685685
686686
687687
devprop_add_value(device, "built-in",&BuiltIn, 1);
devprop_add_value(device, "class-code",ClassFix, 4);
verbose("Injecting a valid desktop GPU device id (0x0126) instead of patching kexts.\n");
device_id = 0x00000126;// Inject a valid mobile GPU device id instead of patching kexts
//verbose("Injecting a valid desktop GPU device id (0x0126) instead of patching kexts.\n");
//device_id = 0x00000126;// Inject a valid mobile GPU device id instead of patching kexts
devprop_add_value(device, "vendor-id",(uint8_t *)INTEL_VENDORID, 4);
devprop_add_value(device, "device-id",(uint8_t *)&device_id, sizeof(device_id));
devprop_add_value(device, "compatible",(uint8_t *)"pci8086,0126", 13);
devprop_add_value(device, "name",(uint8_t *)"pci8086,0126", 13);
//devprop_add_value(device, "device-id",(uint8_t *)&device_id, sizeof(device_id));
//devprop_add_value(device, "compatible",(uint8_t *)"pci8086,0126", 13);
//devprop_add_value(device, "name",(uint8_t *)"pci8086,0126", 13);
verbose("Injeting done: was [%04x:%04x] now is [%04x:%04x]\n", gma_dev->vendor_id, gma_dev->device_id, gma_dev->vendor_id, device_id);
devprop_add_value(device, "AAPL,tbl-info",HD3000_tbl_info, 18);

Archive Download the corresponding diff file

Revision: 2667