linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dan Malek <dan@netx4.com>
To: Steve Rossi <srossi@ccrl.mot.com>
Cc: Gabriel Paubert <paubert@iram.es>, linuxppc-embedded@lists.linuxppc.org
Subject: Re: QSPAN PCI wierdness
Date: Thu, 20 Apr 2000 19:02:20 -0400	[thread overview]
Message-ID: <38FF8C7C.86F2DDCA@embeddededge.com> (raw)
In-Reply-To: 38FF95C5.DEBB683A@ccrl.mot.com


Steve Rossi wrote:

> Its when pci_scanner() calls qs_pci_read_config_dword()
> that it reads 0. Can someone verified that pci_scanner() and
> the qs_pci_* functions in mbxboot/pci.c and
> mbxboot/qspan_pci.c work?

I know I have posted this before.......

The PCI functions in this directory are just for reference.  I checked
them in because I didn't want to lose them.  They are not complete
for one simple reason: the QSPAN generates bus time outs when you
access the config registers for devices that don't exist.  We need to
place some kind of a bus fault exception hander in the code that
exists here for proper operation.

These are examples of functions I normally put into custom 8xx boot
roms.  Someone once asked for them, I checked them into here as it
was the easiest at the time.

These functions work.  If the QSPAN is properly mapped at the time
these functions are called, currently one of three things will happen:

	1.  If no bus timeout and no PCI device, the bus will hang.
	2.  If bus timeout and no PCI device, machine check exception
	3.  If PCI device, proper config cycle will occur.

I believe they should also work for a QSPAN-II, although the
initialization function should have more "stuff" in it.


	-- Dan

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

  reply	other threads:[~2000-04-20 23:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=38FF8C7C.86F2DDCA@embeddededge.com \
    --to=dan@netx4.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=paubert@iram.es \
    --cc=srossi@ccrl.mot.com \
    /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).