*参照元 [#h0b8de53] #backlinks *説明 [#c9eeac56] -パス: [[linux-2.6.33/]] -パス: [[linux-2.6.33/drivers/base/dd.c]] -FIXME: これは何? --説明 **引数 [#kf8915d9] -struct device *dev -- --[[linux-2.6.33/device]] **返り値 [#p7f723ef] -なし **参考 [#l3579e59] *実装 [#la36cc6a] static void driver_bound(struct device *dev) { if (klist_node_attached(&dev->p->knode_driver)) { printk(KERN_WARNING "%s: device %s already bound\n", __func__, kobject_name(&dev->kobj)); return; } - --[[linux-2.6.33/klist_node_attached()]] --[[linux-2.6.33/printk()]] --[[linux-2.6.33/kobject_name()]] pr_debug("driver: '%s': %s: bound to device '%s'\n", dev_name(dev), __func__, dev->driver->name); - --[[linux-2.6.33/pr_debug()]] --[[linux-2.6.33/dev_name()]] if (dev->bus) blocking_notifier_call_chain(&dev->bus->p->bus_notifier, BUS_NOTIFY_BOUND_DRIVER, dev); - --[[linux-2.6.33/blocking_notifier_call_chain()]] klist_add_tail(&dev->p->knode_driver, &dev->driver->p->klist_devices); } - --[[linux-2.6.33/klist_add_tail()]] *コメント [#s9ebb956]