[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061213231848.GY8693@postel.suug.ch>
Date: Thu, 14 Dec 2006 00:18:48 +0100
From: Thomas Graf <tgraf@...g.ch>
To: Adrian Bunk <bunk@...sta.de>
Cc: Stephen Hemminger <shemminger@...l.org>,
Al Viro <viro@....linux.org.uk>,
David Miller <davem@...emloft.net>, jgarzik@...ox.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [2.6 patch] drivers/net/loopback.c: convert to module_init()
* Adrian Bunk <bunk@...sta.de> 2006-12-14 00:12
> On Wed, Dec 13, 2006 at 03:01:43PM -0800, Stephen Hemminger wrote:
> > Loopback should be there before protocols are started. It makes sense
> > to have a standard startup order.
>
> This actually becomes easier after my patch:
>
> Now that it's untangled from net_olddevs_init(), you can simply change
> the module_init(loopback_init) to a different initcall level.
Not really, the device management inits as subsys, the ip layer hooks
into fs_initcall() which comes right after. The loopback was actually
registered after the protocol so far. I think Adrian's patch is fine
if the module_init() is changed to device_initcall().
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists