This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Dual Ethernet for i386/pc
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: David Brennan <eCos at brennanhome dot com>
- Cc: eCos Discussion List <ecos-discuss at sources dot redhat dot com>
- Date: 05 Oct 2004 10:07:07 +0100
- Subject: Re: [ECOS] Dual Ethernet for i386/pc
- References: <414274CC.5090700@brennanhome.com><416211E7.5000800@brennanhome.com>
David Brennan <eCos@brennanhome.com> writes:
> If anyone cares. I found that the problem was that the PCI window was
> set too small on the pc targets for dual 82559's. I changed them all
> from 0x64000 to 0x100000. (Anyone know where the 0x64000 would have
> come from? Strange number and almost all other targets use 0x100000.)
That size was chose so that RedBoot plus the PCI window would fit into
the bottom 640k. This only applies to the FLOPPY startup, but was
probably carried over into the other startup types. For the common
case of a single ethernet device it doesn't matter.
A better approach for running dual 82559's is to simply reduce the
number of TX and RX descriptors in the CDL. The defaults of 128 of
each are ridiculously large, and you can reduce them to 32 each with
no problem. That, I believe, is how I have got two 82559's running in
the past.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss