linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* QSPAN PCI wierdness
@ 2000-04-20 21:56 Steve Rossi
  2000-04-20 21:35 ` Gabriel Paubert
  0 siblings, 1 reply; 6+ messages in thread
From: Steve Rossi @ 2000-04-20 21:56 UTC (permalink / raw)
  To: linuxppc-embedded


Hi All,

I'm working on gettting QSPAN PCI to work using the monta vista 2.2.13
kernel. (I finally have hardware to work with.) In head.S, after
serial_init
I've added a call to qspan_init() and to
pci_scanner(). I'm printing out the Device ID/Vendor ID fields as they
are read. The problem is that they are all 0. In fact, the config
transactions
are not taking place on the PCI bus. I've verified that PCI_CSR_ADDR is
correct and my chip selects are set up correctly. I've got an analyzer
on
the PCI bus, and when I manually (i.e. using my debugger) create a
configuration cycle by writing the QSPAN's config address register
and reading the config data register I get valid data back for the
devices
that are on the PCI bus, and I see the transaction occur with the PCI
analyzer. But when pci_scanner runs, I don't even see the configuration
transactions on the PCI bus. I've stepped through the code and verified
that the config address register write instruction and config data
register
read instructions occur correctly to the right addresses and all that,
but
the data that is returned is always zero. I've also verified that the
data cache
isn't turned on. I'm waiting for access to a logic analyzer so I can see
what
is happening on the PPC bus. But in the mean time, anyone have any ideas

as to why I always get 0.

Thanks,
Steve


--
-------------------------------------------------------
Steven K. Rossi                     srossi@ccrl.mot.com
Staff Engineer
Multimedia Communications Research Laboratory
Motorola Labs
-------------------------------------------------------


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

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

end of thread, other threads:[~2000-04-21  0:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-20 21:56 QSPAN PCI wierdness Steve Rossi
2000-04-20 21:35 ` Gabriel Paubert
2000-04-20 23:41   ` Steve Rossi
2000-04-20 23:02     ` Dan Malek
2000-04-20 23:09     ` Jason Wohlgemuth
2000-04-21  0:35       ` Steve Rossi

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