Index: src/northbridge/amd/gx1/northbridge.c =================================================================== --- src/northbridge/amd/gx1/northbridge.c (revision 2273) +++ src/northbridge/amd/gx1/northbridge.c (working copy) @@ -211,3 +211,32 @@ CHIP_NAME("AMD GX1 Northbridge") .enable_dev = enable_dev, }; + +// This is currently only activated for the +// Cyrix Corporation 5530 Video [Kahlua] +// Question: Are other GX1 systems equipped +// with other VGA chips (or do they have other +// PCI IDs?) + +static void vga_read_resources(device_t dev) +{ + // dev->rom_address = (void *)0xfffc0000; + dev->on_mainboard=1; + pci_dev_read_resources(dev); +} + +static struct device_operations vga_operations = { + .read_resources = vga_read_resources, + .set_resources = pci_dev_set_resources, + .enable_resources = pci_dev_enable_resources, + .init = pci_dev_init, + .ops_pci = 0, +}; + +static struct pci_driver vga_driver __pci_driver = { + .ops = &vga_operations, + .vendor = 0x1078, + .device = 0x0104, +}; + +