added AGP support for AMD K8


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1568 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/src/devices/pci_device.c b/src/devices/pci_device.c
index ec48e7f..a185aae 100644
--- a/src/devices/pci_device.c
+++ b/src/devices/pci_device.c
@@ -456,6 +456,17 @@
 		}
 	}
 
+#if 0
+	extern struct pci_driver generic_vga_driver;
+	/* TODO: Install generic VGA driver for VGA devices, base on the
+	 * class ID */
+	if ((dev->class >> 8)  == PCI_CLASS_DISPLAY_VGA) {
+		printk_debug("setting up generic VGA driver\n");
+		dev->ops = generic_vga_driver.ops;
+		return;
+	}
+#endif
+
 	/* If I don't have a specific driver use the default operations */
 	switch(dev->hdr_type & 0x7f) {	/* header type */
 	case PCI_HEADER_TYPE_NORMAL:	/* standard header */