linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Steve Rossi <srossi@ccrl.mot.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: QSPAN PCI wierdness
Date: Thu, 20 Apr 2000 16:56:05 -0500	[thread overview]
Message-ID: <38FF7CF5.C915436B@ccrl.mot.com> (raw)


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/

             reply	other threads:[~2000-04-20 21:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-20 21:56 Steve Rossi [this message]
2000-04-20 21:35 ` QSPAN PCI wierdness 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=38FF7CF5.C915436B@ccrl.mot.com \
    --to=srossi@ccrl.mot.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).