Chameleon

Chameleon Commit Details

Date:2010-01-22 16:14:38 (14 years 2 months ago)
Author:Pradeesh
Commit:25
Parents: 24
Message:Added Initial Support for Intel graphics injection support (950/X3100)
Changes:
M/branches/prasys/revision
M/branches/prasys/i386/libsaio/nvidia.c
M/branches/prasys/i386/libsaio/pci_setup.c
M/branches/prasys/i386/libsaio/Makefile

File differences

branches/prasys/i386/libsaio/Makefile
4040
4141
4242
43
43
4444
4545
4646
freq_detect.o platform.o dsdt_patcher.o \
smbios_patcher.o fake_efi.o ext2fs.o \
hpet.o spd.o usb.o pci_setup.o \
device_inject.o nvidia.o ati.o
device_inject.o nvidia.o ati.o gma.o
SAIO_EXTERN_OBJS = console.o
branches/prasys/i386/libsaio/nvidia.c
226226
227227
228228
229
230
231
229
230
231
232232
233233
234234
{ 0x10DE029F, "Quadro FX 4500 X2" },
{ 0x10DE0240, "GeForce 6150" },
{ 0x10DE0241, "GeForce 6150 LE" },
{ 0x10DE0242, "GeForce 6100" },
{ 0x10DE0244, "GeForce Go 6150" },
{ 0x10DE0247, "GeForce Go 6100" },
//{ 0x10DE0242, "GeForce 6100" }, // We dont need support for these graphics card as they do not support OSX at all
//{ 0x10DE0244, "GeForce Go 6150" }, // enabling this will only cause kernel panic therefore its safe to remove em
//{ 0x10DE0247, "GeForce Go 6100" },
/*************** G8x ***************/
{ 0x10DE0191, "GeForce 8800 GTX" },
branches/prasys/i386/libsaio/pci_setup.c
55
66
77
8
89
910
1011
......
4950
5051
5152
52
53
54
53
54
5555
56
56
57
5758
5859
5960
extern void set_eth_builtin(pci_dt_t *eth_dev);
extern bool setup_nvidia_devprop(pci_dt_t *nvda_dev);
extern bool setup_ati_devprop(pci_dt_t *ati_dev);
extern bool setup_gma_devprop(pci_dt_t *gma_dev);
extern int ehci_acquire(pci_dt_t *pci_dev);
extern int uhci_reset(pci_dt_t *pci_dev);
extern void force_enable_hpet(pci_dt_t *lpc_dev);
setup_ati_devprop(current);
break;
case PCI_VENDOR_ID_INTEL:
/* message to be removed once support for these cards is added */
verbose("Intel VGA Controller [%04x:%04x] :: %s (currently NOT SUPPORTED)\n",
case PCI_VENDOR_ID_INTEL:
verbose("Intel Graphics Controller [%04x:%04x] :: %s \n",
current->vendor_id, current->device_id, devicepath);
break;
setup_gma_devprop(current);
break;
case PCI_VENDOR_ID_NVIDIA:
setup_nvidia_devprop(current);
branches/prasys/revision
1
1
684
24

Archive Download the corresponding diff file

Revision: 25