[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: PCI base address ?



read /usr/src/linux/Documentation/IO-mapping.txt

u can directly use writel() on x86, but u're going to shoot portability right in
the heart.

Nikhil.

On Fri, Jul 21, 2000 at 03:45:22PM +0400, Praveen wrote:
> 
>  Hi all
> 
>     Can any one tell me, what PCI base address means ?..
>     Why we are remapping base address using ioremap() to acess
>     the device ...Can't we directly access it ?
> 
>         If we write some data to device using writel(), will it be
>     written to on-board device memory  or to our system memory..  
> 
> Thx in adv
>  regards
> 
> -----------------------------------------------------------------------
> LIP is all for free speech.  But it was created for a purpose - to help
> people discuss technical programming related issues about Linux.  If
> your messages are counterproductive to this purpose, your privileges to
> submit messages can and will be revoked.