This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: i82559_reset quaries !!
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: "mohanlal jangir" <mohanlaljangir at hotmail dot com>
- Cc: "mailing-list ecos" <ecos-discuss at sources dot redhat dot com>
- Date: 23 Jul 2003 08:57:51 +0100
- Subject: Re: [ECOS] i82559_reset quaries !!
- References: <Law11-OE561s7nlT2Nq0000062f@hotmail.com>
"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