> The problem: bus_types are registered with the system, which intializes
> all the internal fields, making them ready for use. The PCI bus is being
> probed before the PCI bus type has been registered.
We hit this on PPC too.
> Can pcibios_init() be demoted to a device_initcall? This would delay
> probing until all the subsystems could be setup...
No, because we have device drivers that are initialized with a
device_initcall and which reasonably expect the PCI subsystem to be
set up before they are called.
I can see two solutions: either rename "unused_initcall" to "sys_init"
or something similar and use it for sys_bus_init, or else make an
alias for fs_initcall called "bus_init" or something and use that for
pcibios_init.
Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/