public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* help with pci probing at boot time
@ 2004-06-08 22:13 Chris Friesen
  0 siblings, 0 replies; only message in thread
From: Chris Friesen @ 2004-06-08 22:13 UTC (permalink / raw)
  To: Linux kernel, linuxppc-dev


I'm trying to boot an mcpn765 card with 2.6.5 and I seem to be running into PCI 
issues.

There is a calling sequence in the 765 boot that goes like this:

arch_initcall(ppc_init);
ppc_md.init()
mcpn765_init2()
mcpn765_setup_via_82c586b()

This last function tries to find a particular VIA bridge using 
pci_find_device(), and if it doesn't find it it dumps an error message and 
halts.  This is what I'm seeing.

I tried to figure out how the PCI probing thing worked (I have CONFIG_HOTPLUG=n) 
but I couldn't figure out the call chain. (pci_devices gets added to by 
pci_bus_add_devices, which gets called by pci_do_scan_bus and 
pci_scan_bus_parented, but neither of those seems to get called by anyone in the 
ppc kernel, and all other callers of pci_bus_add_devices are hotplug-related or 
in another architecture.)

I instrumented the PCI probing functions, and they do not seem to be called 
before the ppc_init path, which presents difficulties since pci_find_device() 
doesn't have the data it needs to actually do its job.

Any suggestions?

Chris

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-08 22:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-08 22:13 help with pci probing at boot time Chris Friesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox