*参照元 [#if65e256] #backlinks *説明 [#r82f407b] -パス: [[linux-2.6.33/drivers/base/bus.c]] -FIXME: これは何? --説明 **引数 [#i06b8eff] -struct device *dev -- --[[linux-2.6.33/device]] **返り値 [#z80e6834] -なし **参考 [#ta7d8f05] *実装 [#id648a84] /** * bus_probe_device - probe drivers for a new device * @dev: device to probe * * - Automatically probe for a driver if the bus allows it. */ void bus_probe_device(struct device *dev) { struct bus_type *bus = dev->bus; - --[[linux-2.6.33/bus_type]] int ret; if (bus && bus->p->drivers_autoprobe) { ret = device_attach(dev); WARN_ON(ret < 0); } - --[[linux-2.6.33/device_attach()]] --[[linux-2.6.33/WARN_ON()]] } *コメント [#d1dd826b]