diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2003-09-30 02:16:47 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2003-09-30 02:16:47 +0000 |
commit | 99dcf231f48433a07cbd47ecb0c23301a6b5b34e (patch) | |
tree | 0ea4045b3c64e80081c15a706c9308a5b94c4ba6 /src/devices/pci_device.c | |
parent | 02360d6672bd95b980f83f464dea4c624b8f8aa2 (diff) | |
download | coreboot-99dcf231f48433a07cbd47ecb0c23301a6b5b34e.tar.xz |
The epia now works.
Now to fix the ram ...
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1159 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/pci_device.c')
-rw-r--r-- | src/devices/pci_device.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/devices/pci_device.c b/src/devices/pci_device.c index c387f3569f..a4789d22f4 100644 --- a/src/devices/pci_device.c +++ b/src/devices/pci_device.c @@ -174,6 +174,7 @@ static void pci_bridge_read_bases(struct device *dev) /* FIXME handle bridges without some of the optional resources */ + printk_spew("%s: path %s\n", __FUNCTION__, dev_path(dev)); /* Initialize the io space constraints on the current bus */ dev->resource[reg].base = 0; dev->resource[reg].size = 0; @@ -213,6 +214,7 @@ static void pci_bridge_read_bases(struct device *dev) reg++; dev->resources = reg; + printk_spew("DONE %s: path %s\n", __FUNCTION__, dev_path(dev)); } @@ -630,6 +632,7 @@ unsigned int pci_scan_bridge(struct device *dev, unsigned int max) uint32_t buses; uint16_t cr; + printk_spew("%s: dev %p, max %d\n", __FUNCTION__, dev, max); bus = &dev->link[0]; dev->links = 1; @@ -673,5 +676,6 @@ unsigned int pci_scan_bridge(struct device *dev, unsigned int max) pci_write_config32(dev, PCI_PRIMARY_BUS, buses); pci_write_config16(dev, PCI_COMMAND, cr); + printk_spew("%s returns max %d\n", __FUNCTION__, max); return max; } |