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


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