netdev
[Top] [All Lists]

Re: Regarding SET_NETDEV_DEV

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: Re: Regarding SET_NETDEV_DEV
From: Jeff Garzik <jgarzik@xxxxxxxxx>
Date: Tue, 03 Jun 2003 23:27:40 -0400
Cc: linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx
In-reply-to: <20030603.200944.78736971.davem@xxxxxxxxxx>
Organization: none
References: <20030603175921.GE2079@xxxxxxx> <20030603.200944.78736971.davem@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021213 Debian/1.2.1-2.bunk
David S. Miller wrote:
   From: Jeff Garzik <jgarzik@xxxxxxxxx>
   Date: Tue, 3 Jun 2003 13:59:21 -0400

   For janitors and other developers placing this in net drivers...
   please don't :)  This can be done in upper layers, accomplishing the
   same goal without changing the low-level net driver code at all.
Don't say something can be done without showing exactly
how :-)

How does register_netdevice() know that the device is "whatever" and
where to get the generic device struct from?


Doh! You are totally right -- it can't get the association any other way. Folks, ignore me :)

        Jeff




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