On Thu, Mar 08, 2012 at 11:50:27PM +0400, Antony Pavlov wrote: > used shorten version of linux-2.6.39 pci_ids.h > > + > +static int pci_init(void) > +{ > + pcibios_init(); > + > + if (!pci_present()) { > + printf("PCI: No PCI bus detected\n"); > + return 0; > + } > + > + /* give BIOS a chance to apply platform specific fixes: */ > + //pcibios_fixup(); > + > + return 0; > +} > +postcore_initcall(pci_init); Here the logic is the wrong way round. The initcall should be in your architecture code which then calls register_pci_controller(). Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox