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: adding ethernet interface


On Tue, Jul 29, 2003 at 02:20:14PM +0500, Ambika S Patil wrote:
> yes, CYGHWR_NET_DRIVER_ETH1 is set to 0 in the ecos.ecc file by
> default. how should i enable it?
> 
> also my eth driver doesn't support multiple interfaces.

You need to fix this first. 

Once your driver supports multiple interfaces you can then add an
statement

implements CYGHWR_NET_DRIVER_ETH1 

to your target platform CDL file.

   Andrew


> 
> On Tue, 29 Jul 2003, Andrew Lunn wrote:
> 
> > On Tue, Jul 29, 2003 at 01:30:09PM +0500, Ambika S Patil wrote:
> > > hello, 
> > > i am new to ecos. i want to support 2 ethernet interfaces. by default ecos
> > > supports 1 ethernet interface ie "eth0". so what needs to be done to
> > > suport "eth1"???
> > 
> > Depend on what your ethernet driver is. Some support multiple devices,
> > eg the i82559 driver. 
> > 
> > Check the value of CYGHWR_NET_DRIVER_ETH1. Its probably set to 0. Find
> > out where and why it set to zero.
> > 
> >     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


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