This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: How to make eth1 active for the i386 target in configuration tool
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: AL Chane <al_chane at issc dot com dot tw>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Wed, 14 Aug 2002 10:10:03 +0200
- Subject: Re: [ECOS] How to make eth1 active for the i386 target in configuration tool
- References: <00a901c24359$9b2133f0$1f0114ac@ALCHANE>
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