This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: How to access PCI memory(HELP)....
- To: Ling Su <lingsu at palmmicro dot com>
- Subject: Re: [ECOS] How to access PCI memory(HELP)....
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Mon, 11 Sep 2000 03:43:57 +0100
- CC: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <003401c019c5$26092880$1201a8c0@crusoe>
> Ling Su wrote:
>
> I attached my pci1.exe test running result in the end, the UNKNOW device
> is my own card, according to the dump, which address that I should use to
> access the PCI memory? Any helpful explaination will be appreciated very
> much. Thanks a lot in advance!
>
[snip]
> Found device on bus 0, devfn 0x10:
> Device configuration succeeded
> Vendor 0x1688 [UNKNOWN] <------------ This is my own card
> Device 0x8888 [UNKNOWN]
> Command 0x0000, Status 0x0280
> Class/Rev 0x07800001 [UNKNOWN]
> Header 0x11FF0E
> SubVendor 0x1111, Sub ID 0xFF19
> BAR[0] 0x00410008 / probed size 0xFFFFF008 / CPU addr 0xC0410000
^^^^^^^^^^
Looks like this address is where the I/O ports for this card should have
been mapped into the CPU address space. Hopefully my last e-mail provides
some of the explanation. Other than that, UTSL - Use The Source Ling ;)!
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault