[ECOS] eth0 entry in NETDEVTBL

Sunil Mohan Savanur sunil.savanur@wipro.com
Fri Oct 12 07:09:00 GMT 2001


Hello,

I am not developing any special network driver for my synthetic target linux.
I am planning to use existing driver that is
"packages/io/eth/current/src/net/eth_drv.c"
I have added CYGPKG_NET and CYGPKG_NET_ETH_DRIVERS. Then built
eCos.

Still in my application I am getting socket/bind error ?

What is needed to make "eth0" interface active ?

Is it required to populate the "eth0" entry in NETDEVTBL as a part of
initialization ?

Looks like eth_drv_net("eth0") call does not find any valid entry in NETDEVTBL
!!

Please guide me.

Thanks & regards
Sunil Savanur




More information about the Ecos-discuss mailing list