pci-pci bridge initialisation code

3 messages, 2 authors, 2001-08-02 · open the first message on its own page

pci-pci bridge initialisation code

From: bhupinder sahran <hidden>
Date: 2001-08-02 20:54:37

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/

Re: pci-pci bridge initialisation code

From: Mark A. Greer <hidden>
Date: 2001-08-02 21:40:40

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/

Re: pci-pci bridge initialisation code

From: Mark A. Greer <hidden>
Date: 2001-08-02 21:42:41

"Mark A. Greer" wrote:
bhupinder sahran wrote:
quoted
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help