迭代总线上的所有device/driver

drives/base/bus.c

bus_for_each_dev;

bus_for_each_drv;

bus_find_device;


获取设备名字:

include/linux/device.h

dev_name(struct device *dev);

你可能感兴趣的:(迭代总线上的所有device/driver)