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: How to make eth1 active for the i386 target in configuration tool


Hi,

       I got eh1 active in configuration tool by following the instruections
from the previous discuss:
But haven't not tried yet if it works correctly......

****************************************************************************
*******
Has anyone gotten two Ethernet interfaces working on an i386/pc?  The
"current" (anonymous CVS) code doesn't support this capability directly,
so we made some simple-minded modifications that work -- almost.

We changed i386_pc_i82559_eth_drivers.cdl (from
devs/eth/i386/pc/i82559/current/cdl) and devs_eth_pc_i82559.inl (from
devs/eth/i386/pc/i82559/current/include) to add eth1 (ETH1), etc.  (Copies
of both files are attached.)

In all cases, pings to eth0 work fine.  At the start, pings to eth1 work
fine but, after about six pings, eth1 then sends perhaps 16 duplicates,
works fine for about six pings, sends about 16 duplicates, and so forth.
The duplicates have TTLs around 195, versus the expected value of 255, so,
it sounds as though they're bouncing around inside eCos for 60 hops or so!

We could really use your help!

Stephen P. Morgan


devs_eth_i386_pc_i82559.inl

i386_pc_i82559_eth_drivers.cdl

****************************************************************************
*******************

thanks

AL

----- Original Message -----
From: "AL Chane" <al_chane@issc.com.tw>
To: "eCos discuss" <ecos-discuss@sources.redhat.com>
Sent: Thursday, August 15, 2002 9:57 AM
Subject: Re: [ECOS] How to make eth1 active for the i386 target in
configuration tool


> Hi,
>
>      I can not find where the  CYGHWR_NET_DRIVER_ETH0 or
> CYGHWR_NET_DRIVER_ETH1
> is defined. Instead there are many  #ifdef  CYGHWR_NET_DRIVER_ETH0 or
#ifdef
> CYGHWR_NET_DRIVER_ETH1.
>
>      Anyone knows where  CYGHWR_NET_DRIVER_ETH0 /  CYGHWR_NET_DRIVER_ETH1
is
> defined?
> How can I have two interfaces (eth0 / eth1) support for i386 target?
>
> thanks!
>
> Al
>
> ----- Original Message -----
> From: "Andrew Lunn" <andrew.lunn@ascom.ch>
> To: "AL Chane" <al_chane@issc.com.tw>
> Cc: <ecos-discuss@sources.redhat.com>
> Sent: Wednesday, August 14, 2002 4:10 PM
> Subject: Re: [ECOS] How to make eth1 active for the i386 target in
> configuration tool
>
>
> > On Wed, Aug 14, 2002 at 02:12:44PM +0800, AL Chane wrote:
> > > Hi,
> > >
> > >      I'd like to add two Ethernet cards on my i386 target. I can
> initialize
> > > eth0 in configuration tool, but eth1 is not active (grayed). How can I
> > > activate eth1 in configuration tool so I can initialize eht1 as well
> during
> > > configuration?
> >
> > Read the ecos.ecm file. Look for the section which looks like
> >
> >     cdl_interface CYGHWR_NET_DRIVER_ETH1 {
> >         display "Does the hardware provide an 'eth1' device?"
> >         requires { CYGHWR_NET_DRIVER_ETH1 <= 1 }
> >
> > My guess is that CYGHWR_NET_DRIVER_ETH1 == 0. You need to work
> > backwards and find out how this gets its value. Read the .cdl files in
> > packages/io/eth, packages/dev/eth/intel etc.
> >
> >     Andrew
> >
> > --
> > Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> > and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> >
> >
> >
>
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>
>
>


-- 
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]