* Enable devices on the device tree. * * Starting at the root, walk the tree and enable all devices/bridges by * calling the device's enable_resources() method. */
| 517 | * calling the device's enable_resources() method. |
| 518 | */ |
| 519 | void dev_enable(void) |
| 520 | { |
| 521 | printk(BIOS_INFO, "Enabling resources...\n"); |
| 522 | |
| 523 | /* Now enable everything. */ |
| 524 | if (dev_root.downstream) |
| 525 | enable_resources(dev_root.downstream); |
| 526 | |
| 527 | printk(BIOS_INFO, "done.\n"); |
| 528 | } |
| 529 | |
| 530 | /** |
| 531 | * Initialize a specific device. |
no test coverage detected