diff options
author | arch import user (historical) <svn@openbios.org> | 2005-07-06 16:49:59 +0000 |
---|---|---|
committer | arch import user (historical) <svn@openbios.org> | 2005-07-06 16:49:59 +0000 |
commit | 2305364397f9d4b4722e594069d4e2960cc35911 (patch) | |
tree | 732ebfaccb3f3b4c10bb30c497b01897a39c4ecb /src/devices/root_device.c | |
parent | ca0084ef9bed2f67618d3d183afb0a2d413595ab (diff) |
Revision: linuxbios@linuxbios.org--devel/freebios--devel--2.0--patch-10
Creator: Yinghai Lu <yhlu@tyan.com>
pci_rom.h smbus device parent device print
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1929 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/root_device.c')
-rw-r--r-- | src/devices/root_device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/root_device.c b/src/devices/root_device.c index 2c641a2260..91c706e4b6 100644 --- a/src/devices/root_device.c +++ b/src/devices/root_device.c @@ -89,6 +89,8 @@ unsigned int scan_static_bus(device_t root, unsigned int max) if (child->ops && child->ops->enable) { child->ops->enable(child); } + if (child->path.type == DEVICE_PATH_I2C) + printk_debug("smbus: %s[%d]->", dev_path(child->bus->dev), child->bus->link ); printk_debug("%s %s\n", dev_path(child), child->enabled?"enabled": "disabled"); } |