linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dan Malek <dan@mvista.com>
To: Denton Gentry <denny@dominetsystems.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: 405gp PCI?
Date: Mon, 30 Apr 2001 22:39:27 -0400	[thread overview]
Message-ID: <3AEE21DF.6C289B1C@mvista.com> (raw)
In-Reply-To: 3AEE0E5C.955341B3@dominetsystems.com


Denton Gentry wrote:

> ....I'm using a kernel compiled from the fsmlabs source
> as of last Tuesday (I have not pulled over new code since the
> boot reorganization was done, I want to get this working first).

Hmmm...I know it works with PCI slave devices, but I don't know
if it will for masters.  I know the Linux support functions for
virt_to_bus and friends will provide the proper addresses.  Sounds
like there is some missing 405 register initialization.  Are you
doing this on a custom board, or in the Walnut eval board?  I
suspect on the Walnut we rely on the boot rom for some of this
405 PCI initialization.

>   Also, though I'm certain that this problem is not caused by
> stale data, one of the next things I'll need to tackle is cache
> coherency.

I have just recently finished the pci_consistent_* functions and
software cache mangement functions so they will do the right thing
on the IBM4xx and MPC8xx processors.  Assuming the driver has these
functions in place, they are either no-ops on a cache coherent
processor or provide the proper function on a non-coherent
processor.  The eepro-100 driver used to work with some hacks, and
I'm going to ensure it works without them :-).  It's in the update
patch back to FSM Labs, so it should be there soon.  We are also
adding the PCI auto-probe so we don't rely on the boot rom for
any of the PCI initialization.

The on-board 405 Ethernet driver is an example of how to use the
consistent_* functions for memory management and the cache management
functions.


	-- Dan

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

  reply	other threads:[~2001-05-01  2:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-01  1:16 405gp PCI? Denton Gentry
2001-05-01  2:39 ` Dan Malek [this message]
2001-05-01 20:58   ` Denton Gentry
2001-05-01 21:29     ` Frank Rowand
2001-05-01 22:54       ` Denton Gentry
2001-05-01 23:44         ` Frank Rowand
2001-05-02  0:39           ` John Cagle

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=3AEE21DF.6C289B1C@mvista.com \
    --to=dan@mvista.com \
    --cc=denny@dominetsystems.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).