summaryrefslogtreecommitdiff
path: root/src/devices/root_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/root_device.c')
-rw-r--r--src/devices/root_device.c2
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");
}