On Wednesday 11 June 2008, Maciej W. Rozycki wrote:
PCI root hubs, yes. The drivers/pci/hotplug bridges are slightly
more generic, ditto drivers/pci/pcie and the CardBus bridges in
drivers/pcmcia. At one point, lack of a generic (non-hotplug) PCI
bridge driver was viewed as a weakness of that driver stack.
Also, drivers/acpi/pci_root.c binds the root at subsys_initcall.
That's done *after* some earlier PCI magic; I never bothered
to sort through that little maze.
Which, for the record, get very early initialization using two
different mechanisms:
- many use arch_initcall()
- the "arch" subtree is linked before the "drivers" subtree
I don't think I2C needs to worry about arch_initcall just now,
but if necessary it could initialize earlier than subsys_initcall.
- Dave
--