added AGP support for AMD K8

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1568 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Li-Ta Lo
2004-05-24 19:04:47 +00:00
parent 7b095aa1d9
commit 9da7ff91f5
6 changed files with 87 additions and 43 deletions

View File

@@ -456,6 +456,17 @@ static void set_pci_ops(struct device *dev)
}
}
#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 */