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: Dual Ethernet for i386/pc


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


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