This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
PCI device driver questions
- From: John Newlin <jnewlin at rawbw dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Fri, 30 Jan 2004 14:21:13 -0800 (PST)
- Subject: [ECOS] PCI device driver questions
Hello,
I'm working on the driver for a PCI device.
There is a region of Bus Address space reserved for mapping PCI I/O and
PCI memory regions.
Where in the PCI driver does one map a processor physical address to a PCI
32/64 bit address.
For example: If I have one device on PCI that has 1 4MB memory BAR, how
would one map that 4MB region into local processor space.
Pointers to some code examples would be great!
Thanks
-John Newlin
jnewlin@rawbw.com
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss