Re: Regarding SET_NETDEV_DEV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David S. Miller wrote:
   From: Jeff Garzik <jgarzik@pobox.com>
   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



-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux