Subject: Re: Fwd: Located problem in pcn driver...
To: John Gordon <john_94501@yahoo.com>
From: Kamal R Prasad <kamalrpr@in.ibm.com>
List: tech-kern
Date: 04/21/2003 06:07:38
------------------------------------------------------------------------------

Kamal R. Prasad
AIX Support & Test, IBM India Software Labs
Golden Enclave, Airport Road, Bangalore-560017, India
Phone : +91-80-5094963,  Internal Ext   : 2963




Hello,

> The address used for DMA is physical memory address. Do you say
> that PCI and CPU see different physical memory adresses? That's
> quite weird.


>PC programmers will wonder why it is all so complex; those of us that have
used
>PPC systems for a while are used to it (I've been working with embedded
PPC
>devices now since the mid-1990's starting with an MVME-1604 system - and
they
>have a PCI-VME bridge to add another layer of trsnslations ;-). It
basically
>comes down to the fact that PCI is an alien bus for PPC, and the bridge
must
>try to make it fit into the PPC world and still work.

PCI is the standard bus for POWER4-based systems. there is a logic in place
that looks at an address to decide if it(load/store) is meant for I/O
device or memory and probably bypasses cache as a result for I/O operations
without the volatile keyword being used.

regards
-kamal



=====
Rate Corporate America at http://exec-ratings.bluedonkey.org

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com