Re: Regarding SET_NETDEV_DEV

From: Stephen Hemminger (shemminger@osdl.org)
Date: Tue Jun 03 2003 - 22:45:21 EST


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?
>
There are enough PCI network devices, that something like
alloc_pci_etherdev might
be a good future idea.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:22 EST