Hi,

            - Now Iam testing eCos pci1.c test 
case(packages/io/pci/current/tests/) on my Board.


            - In the pci intialization code Iam reading the PCI 
configuration base address, In that address pci device id is hard code but the 
device id value is not reading.

below code is my platform spcific code 
(packages/hal/arm/arm9/scp/include/scp.h).

#define _MMAP_SIZE_2GB   (30<<7)
#define SCP_REGS_PHYS_BASE  0x40000000
_MMAP_REGISTERS_INIT   (SCP_REGS_PHYS_BASE  + 0x00000000 | _MMAP_SIZE_2GB  | 
_MMAP_NOPREFETCH | _MMAP_ENABLE)



            - memory map registers initialization is start from 
0x4000 0000 to 2GB.


            - PCI configuration base address is 0x8400 0000 

The problem is not reading the content at 0x8400 0000 location. pls help me.

 
Thanks & Regards
Srinivas Rao.Ch




                
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to