* Stefan Reinauer <[EMAIL PROTECTED]> [060424 12:49]:
> > the debug should be output the vga_onboard Variable,
> > but the output is vga.
> 
> good spot. 
> LinuxBIOS does not detect the vga device as an onboard vga device. 

Can you apply the attached patch and try again?

Stefan

-- 
coresystems GmbH · Brahmsstr. 16 · D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 · Fax: +49 761 7664613
Email: [EMAIL PROTECTED]  · http://www.coresystems.de/
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,
+};
+
+
-- 
linuxbios mailing list
[email protected]
http://www.openbios.org/mailman/listinfo/linuxbios

Reply via email to