linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: pci-pci bridge initialisation code
  2001-08-02 20:54 pci-pci bridge initialisation code bhupinder sahran
@ 2001-08-02 18:17 ` Matt Porter
  2001-08-02 21:40 ` Mark A. Greer
  1 sibling, 0 replies; 4+ messages in thread
From: Matt Porter @ 2001-08-02 18:17 UTC (permalink / raw)
  To: bhupinder sahran; +Cc: linuxppc-embedded


On Thu, Aug 02, 2001 at 01:54:37PM -0700, bhupinder sahran wrote:
>
> hi all
> i have ported linux on my MPC8240 processor.
> but as i am not having bios kind of stuff so kernek
> should initialise all the peripherals sitting on the
> pci bus.
> i have intigrated the code, but code for mapping the
> pci-pci bridge is not with me.
> so i cam not see the device which are sitting on bus
> after the bridge.

arch/ppc/kernel/pci_auto.c performs PCI enumeration.

--
Matt Porter
MontaVista Software, Inc.
mporter@mvista.com

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

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

* pci-pci bridge initialisation code
@ 2001-08-02 20:54 bhupinder sahran
  2001-08-02 18:17 ` Matt Porter
  2001-08-02 21:40 ` Mark A. Greer
  0 siblings, 2 replies; 4+ messages in thread
From: bhupinder sahran @ 2001-08-02 20:54 UTC (permalink / raw)
  To: linuxppc-embedded


hi all
i have ported linux on my MPC8240 processor.
but as i am not having bios kind of stuff so kernek
should initialise all the peripherals sitting on the
pci bus.
i have intigrated the code, but code for mapping the
pci-pci bridge is not with me.
so i cam not see the device which are sitting on bus
after the bridge.
can anybody tell me where i can get this code.
thanks in advance
with king regards
Bhupi


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

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

* Re: pci-pci bridge initialisation code
  2001-08-02 20:54 pci-pci bridge initialisation code bhupinder sahran
  2001-08-02 18:17 ` Matt Porter
@ 2001-08-02 21:40 ` Mark A. Greer
  2001-08-02 21:42   ` Mark A. Greer
  1 sibling, 1 reply; 4+ messages in thread
From: Mark A. Greer @ 2001-08-02 21:40 UTC (permalink / raw)
  To: bhupinder sahran; +Cc: linuxppc-embedded


bhupinder sahran wrote:

> hi all
> i have ported linux on my MPC8240 processor.
> but as i am not having bios kind of stuff so kernek
> should initialise all the peripherals sitting on the
> pci bus.
> i have intigrated the code, but code for mapping the
> pci-pci bridge is not with me.
> so i cam not see the device which are sitting on bus
> after the bridge.
> can anybody tell me where i can get this code.
> thanks in advance
> with king regards

I'm not sure I really understood everything you're trying to say but you can
start looking in mpc10x_common.c for some mpc105/106//107/8240 bridge init
code.  You can look at the sandpoint port for how to use it.  This code should
do most if not all of what you need to do.

Mark


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

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

* Re: pci-pci bridge initialisation code
  2001-08-02 21:40 ` Mark A. Greer
@ 2001-08-02 21:42   ` Mark A. Greer
  0 siblings, 0 replies; 4+ messages in thread
From: Mark A. Greer @ 2001-08-02 21:42 UTC (permalink / raw)
  To: bhupinder sahran, linuxppc-embedded


"Mark A. Greer" wrote:

> bhupinder sahran wrote:
>
> > hi all
> > i have ported linux on my MPC8240 processor.
> > but as i am not having bios kind of stuff so kernek
> > should initialise all the peripherals sitting on the
> > pci bus.
> > i have intigrated the code, but code for mapping the
> > pci-pci bridge is not with me.
> > so i cam not see the device which are sitting on bus
> > after the bridge.
> > can anybody tell me where i can get this code.
> > thanks in advance
> > with king regards
>
> I'm not sure I really understood everything you're trying to say but you can
> start looking in mpc10x_common.c for some mpc105/106//107/8240 bridge init
> code.  You can look at the sandpoint port for how to use it.  This code should
> do most if not all of what you need to do.

I guess I should add that if you really mean setting up a PCI-PCI bridge (and not
the host bridge), try using the pci_auto stuff.

Mark


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

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

end of thread, other threads:[~2001-08-02 21:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-02 20:54 pci-pci bridge initialisation code bhupinder sahran
2001-08-02 18:17 ` Matt Porter
2001-08-02 21:40 ` Mark A. Greer
2001-08-02 21:42   ` Mark A. Greer

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).