steven james pyro@linuxlabs.com writes:
Greetings,
Thinking about initialization where one device's init is required to make others show up:
In the cases I have seen, any devices that require another device's setup, the new device either has a higher device or function number, or it is on a subordinate bus. The mose common case is the superIO devices which require both southbridge and PnP setup.
Perhaps the best thing is a provision for a function call upon scanning a device. That function would init it far enough to reveal anything behind it and no further. It could then either scan any subordinate busses and dependant devices, or just return and let the scan that found it continue to higher dev/fn numbers.
So the scan_bus function in pch.h should work then, and it seems to be a reasonable match.
Eric