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: NETDEVTAB question


Jani Monoses wrote:
> 
> Hi
> Is there a reason why net devices cannot be put in the DEVTAB along with
> other io devices and be initialized at the same time.I see that both
> tcpip stack and redboot  explicitely walk the NETDEVTAB and init the
> devices.

It's a slight anachronism as we used to be forced to do it this way. But
now that that's the case, we have other code that relies on it being that
way - e.g. the code in redboot's net_io.c that needs to run before the
NETDEVTAB entries, and the code that has to run after it. This is the
easiest way to maintain that strict ordering.

Any reason to change it?

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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