linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* PCI on MPC8265
@ 2003-10-21 11:18 Tamas Bara
  2003-10-21 16:00 ` bhupinder sahran
  0 siblings, 1 reply; 2+ messages in thread
From: Tamas Bara @ 2003-10-21 11:18 UTC (permalink / raw)
  To: Linuxppc-Embedded@Lists. Linuxppc. Org


Hi,

I´m running Linux 2.4.4 on a TQM8260 board with
an MPC8265 on it and an Ethernet controller on
the PCI Bus.

When Linux scans the PCI Bus it detects the
controller multiple times. I could change the for
loop to devfn < 9 since I only got the internal
host bridge and the controller on the bus:

/* Go find them, Rover! */
for (devfn = 0; devfn < 0x100; devfn += 8) {
	dev0.devfn = devfn;
	pci_scan_slot(&dev0);
}

This works, but I don´t want to change the kernel.
So I´m looking for a different solution.

How does the kernel know that it already detected
a device before?

Thanks


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-21 16:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-21 11:18 PCI on MPC8265 Tamas Bara
2003-10-21 16:00 ` bhupinder sahran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).