From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Ling Su Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] How to access PCI memory(HELP).... Date: Sun, 10 Sep 2000 19:44:00 -0000 Message-id: <39BC46ED.987DB46B@redhat.com> References: <003401c019c5$26092880$1201a8c0@crusoe> X-SW-Source: 2000-09/msg00116.html > 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