PCI mmap - How do I access a PCI board address space?
Angelo Fraietta
afraiett at bigpond.net.au
Thu Sep 25 20:59:11 UTC 2003
gregory.menke at gsfc.nasa.gov wrote:
>Chris Caudle writes:
> > gregory.menke at gsfc.nasa.gov wrote:
> > > Yes, though now they are often implemented as #defines. On the x86,
> > > you have IO and memory accesses, so the operations are different.
> >
> > On PCI based systems running in protected mode, IO access is
> > considered just one step short of deprecated. PCI spec recommends
> > memory access only, and some newer PCI devices do not implement I/O
> > access at all. Because of legacy support, i.e. even the newest X86
> > servers can still boot DOS, devices which can be boot devices
> > typically still implement I/O access, but it is for legacy support
> > only.
> >
>
>Better tell 3-Com; etherlink devices have historically worked in IO
>space, and they continue to, lots of other devices are memory only.
>It doesn't really matter much either way. Some hardware is better
>suited to IO mapping than memory mapping.
>
>
>
This is defininately the case with the DIMM-PC which runs the pc386dx
BSP. You have to use mapped I/O because you can't memory map the
external device..
--
Angelo Fraietta
PO Box 859
Hamilton NSW 2303
Home Page
http://www.users.bigpond.com/angelo_f/
There are those who seek knowledge for the sake of knowledge - that is CURIOSITY
There are those who seek knowledge to be known by others - that is VANITY
There are those who seek knowledge in order to serve - that is LOVE
Bernard of Clairvaux (1090 - 1153)
More information about the users
mailing list