This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: i82559_reset quaries !!


"mohanlal jangir" <mohanlaljangir@hotmail.com> writes:

> I have been working with ARM Integrator/AP board with ARM920t core module. I
> have some queries regarding fucntion i82559_reset.
> 
> 1. This is one sorce line from above function
>      cyg_uint32 ioaddr = p_i82559->io_address;
> My question is what should variable ioaddr have? I think it should have PCI
> address if p_i82559 is properly initialised but I am getting 0. Any idea
> why?


The io_address is derived from the device's PCI configuration. It
looks like something is not working right there. Try running the pci1
test program and see what it says for the i82559.

All your other problems are almost certainly a consequence of this
initial problem.


-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com      The eCos and RedBoot experts


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]