From 515f6c729e0b4878884e74e21d00dbc4b66dcdd9 Mon Sep 17 00:00:00 2001 From: Li-Ta Lo Date: Tue, 11 Jan 2005 22:48:54 +0000 Subject: works for PCI vga cards too git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1856 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdk8/northbridge.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/northbridge/amd') diff --git a/src/northbridge/amd/amdk8/northbridge.c b/src/northbridge/amd/amdk8/northbridge.c index a36e6b96a6..fe1fcaa890 100644 --- a/src/northbridge/amd/amdk8/northbridge.c +++ b/src/northbridge/amd/amdk8/northbridge.c @@ -387,6 +387,8 @@ static void amdk8_set_resource(device_t dev, struct resource *resource, unsigned limit |= (nodeid & 7); if (dev->link[link].bridge_ctrl & PCI_BRIDGE_CTL_VGA) { + printk_spew("%s, enabling legacy VGA IO forwarding for %s link %s\n", + __func__, dev_path(dev), link); base |= PCI_IO_BASE_VGA_EN; } if (dev->link[link].bridge_ctrl & PCI_BRIDGE_CTL_NO_ISA) { @@ -439,6 +441,8 @@ static void amdk8_create_vga_resource(device_t dev, unsigned nodeid) } } + printk_spew("%s: link %d has VGA device\n", __func__, link); + /* no VGA card installed */ if (link == dev->links) return; -- cgit v1.2.3