* PPC PCI Enumeration::Switch off
@ 2003-12-23 18:38 Karoliya, Abhishek
2003-12-23 21:20 ` Matt Porter
0 siblings, 1 reply; 2+ messages in thread
From: Karoliya, Abhishek @ 2003-12-23 18:38 UTC (permalink / raw)
To: 'linuxppc-embedded@lists.linuxppc.org'
Hi ,
While porting Linux {we use both flavours MontaVista based on 2.4.18 &
Kernel.org's 2.4.20} on MPC7447(Dual CPU) + MV64360 based Processor PMC
boards , we have a scenario where multiple PMC card will reside on the same
PCI bus . Out of all the boards only one {identified through hardware
signal} will enumerate the rest and other PCI devices on the board. {Monarch
mode}.
Hence we need to turn off PCI enumeration for other {Non-monarch boards }.
I tried this by not calling the
pciauto_bus_scan(){arch/ppc/kernel/pci_auto.c} while setting up the host
bridge . But the boards still goes forward and does the enumeration.
Do I have take care of any other section of the code .
Thanks a lot
Abhi
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: PPC PCI Enumeration::Switch off
2003-12-23 18:38 PPC PCI Enumeration::Switch off Karoliya, Abhishek
@ 2003-12-23 21:20 ` Matt Porter
0 siblings, 0 replies; 2+ messages in thread
From: Matt Porter @ 2003-12-23 21:20 UTC (permalink / raw)
To: Karoliya, Abhishek; +Cc: 'linuxppc-embedded@lists.linuxppc.org'
On Wed, Dec 24, 2003 at 12:08:58AM +0530, Karoliya, Abhishek wrote:
>
> Hi ,
>
> While porting Linux {we use both flavours MontaVista based on 2.4.18 &
> Kernel.org's 2.4.20} on MPC7447(Dual CPU) + MV64360 based Processor PMC
> boards , we have a scenario where multiple PMC card will reside on the same
> PCI bus . Out of all the boards only one {identified through hardware
> signal} will enumerate the rest and other PCI devices on the board. {Monarch
> mode}.
>
> Hence we need to turn off PCI enumeration for other {Non-monarch boards }.
> I tried this by not calling the
> pciauto_bus_scan(){arch/ppc/kernel/pci_auto.c} while setting up the host
> bridge . But the boards still goes forward and does the enumeration.
> Do I have take care of any other section of the code .
Don't call pcibios_alloc_controller() and the PCI subsystem will not
attempt to probe the bus (and enumerate via the fixup hooks). Just
configure your inbound window(s) on the non-monarch boards and you
are done.
-Matt
** 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-12-23 21:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-23 18:38 PPC PCI Enumeration::Switch off Karoliya, Abhishek
2003-12-23 21:20 ` Matt Porter
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).