This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Bug (I think) in ethernet driver for XScale 80310
- To: jlarmour at redhat dot com
- Subject: Re: [ECOS] Bug (I think) in ethernet driver for XScale 80310
- From: Mark Salter <msalter at redhat dot com>
- Date: Tue, 25 Sep 2001 17:06:07 -0400
- CC: rich at accetnetwork dot com, ecos-discuss at sourceware dot cygnus dot com
- References: <01092412511301.07749@localhost.localdomain> <3BB0DC54.142AF2CA@redhat.com>
>>>>> Jonathan Larmour writes:
> This is a multi-part message in MIME format.
> --------------FF3BEAC72F709DCE852EE3DD
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> Richard Wicks wrote:
>> The file
>> ${ECOS_REPOSITORY}devs/eth/arm/iq80310/current/include/iq80310_info.h defines
>> MAX_RX_DESCRIPTORS and MAX_RX_DESCRIPTORS both to 128 when eCos is compiled
>> for the target=iq80310 template=net. However, the amount of memory that is
>> reserved total for these descriptors appears to only be 16KB regardless of
>> the number of descriptors defined in iq80310_info.h
> Looks like you're right IMHO.
> Mark, I can't test this patch, so in your opinion does it look okay to
> check-in?
Yes, but there's still this in devs/eth/arm/iq80310/current/src/if_iq80310.c:
// First initialize the heap in PCI window'd memory
i82559_heap_size = 16*1024; // match actual size in if_shmem.S
Ugly, ain't it?
That needs the same calculation as in if_shmem.S.
I'm still trying to think of a good way of using the generic 82559 driver
while maintaining a minimal PCI window for RedBoot...
--Mark