netdev
[Top] [All Lists]

5/x: [NETDRV] Move register_netdev into probe function

To: Jeff Garzik <jgarzik@xxxxxxxxx>
Subject: 5/x: [NETDRV] Move register_netdev into probe function
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 6 Jun 2004 18:41:19 +1000
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20040605052737.GA27406@xxxxxxxxxxxxxxxxxxx>
References: <20040313025859.GA8186@xxxxxxxxxxxxxxxxxxx> <405C294D.5040508@xxxxxxxxx> <20040520111937.GA21804@xxxxxxxxxxxxxxxxxxx> <20040522074435.GA9628@xxxxxxxxxxxxxxxxxxx> <20040529084109.GA13032@xxxxxxxxxxxxxxxxxxx> <40BE3778.1020404@xxxxxxxxx> <20040605052737.GA27406@xxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.5.1+cvs20040105i
On Sat, Jun 05, 2004 at 03:27:37PM +1000, herbert wrote:
> 
> So in its place I present the following patch that merges duplicate
> register_netdev calls by moving them to the probe function.

Here is the patch to move register_netdev into the probe function
for the remaining modules.  This allows us to print the information
that the driver wants to after the device has been registered.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email:  Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Attachment: p
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>