linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Help enabling PCI endpoint on 460EX, host sees disabled
@ 2008-12-10 23:29 Ayman El-Khashab
  2008-12-11  0:17 ` Ira Snyder
  0 siblings, 1 reply; 6+ messages in thread
From: Ayman El-Khashab @ 2008-12-10 23:29 UTC (permalink / raw)
  To: linuxppc-dev

My system consists of a pair of 460EXs attached by way of both PCI-E and
PCI.  Ultimately my goal is to communicate between them via pci-e (is
there anything out there that does this already?).  For a small step, I
am trying to get the PCI to work.  I already have the PCI boot ability
of the 460EXs working so the "adapter" processor is booting from the
masters main memory.  Right now I am trying to just exchange data via
the regular PCI bus.  I've looked through the kernel code and see where
it is using the "dma-ranges" from the device tree to setup the PIM
registers.  So I am good there.  When I look at the PCI bus from the
host though, I see the following output from lspci.
=20
0001:00:02.0 Class 0680: Unknown device 10e8:a003
        Subsystem: Unknown device 1014:cafe
        Flags: bus master, 66MHz, medium devsel, latency 128, IRQ 22
        Memory at d80000000 (64-bit, prefetchable) [disabled]
[size=3D80000000]
        Capabilities: [c0] Message Signalled Interrupts: Mask- 64bit+
Queue=3D0/2 Enable-
        Capabilities: [d0] Power Management version 2
        Capabilities: [dc] PCI-X non-bridge device
        Capabilities: [48] Vital Product Data

I am assuming that the disabled is probably because the pci command
register on the adapter is not correct.  However I am not entirely sure.
And I assume that the disabled means I won't be able to write to it.  So
what do I need to do to get this enabled?

Thanks

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

end of thread, other threads:[~2008-12-11 22:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-10 23:29 Help enabling PCI endpoint on 460EX, host sees disabled Ayman El-Khashab
2008-12-11  0:17 ` Ira Snyder
2008-12-11  2:13   ` Ayman El-Khashab
2008-12-11 11:04   ` Benjamin Herrenschmidt
2008-12-11 16:22     ` Ira Snyder
2008-12-11 22:40       ` Benjamin Herrenschmidt

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