/* dump single bus's information, all devices, drivers connected to this bus is included */
static int u_bus_dump(struct u_bus *bus)
/* dump single bus's information, all devices, drivers connected to this bus is included */
static int u_bus_dump(struct u_bus *bus)
{
		ddkc_warn("bus[%s]'s device list is empty\r\n", bus->name);
	} else {
		dlist_for_each_entry_safe(&p->dev_list, next, dev_p, u_device_private_t, bus_node) {
			dev = dev_p->dev;
			u_device_dump(dev);
		}
	}
	if (dlist_empty(&p->drv_list)) {
		ddkc_warn("bus[%s]'s driver list is empty\r\n", bus->name);
	} else {
		dlist_for_each_entry_safe(&p->drv_list, next, drv_p, u_driver_private_t, bus_node) {
			drv = drv_p->drv;
			u_driver_dump(drv);
		}
	}
	return 0;
}