This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: NETDEVTAB question
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: Jani Monoses <jani at iv dot ro>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 04 Apr 2002 04:28:32 +0100
- Subject: Re: [ECOS] NETDEVTAB question
- References: <Pine.LNX.4.33L2.0203221056270.7908-100000@cow>
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