Question about NETDEV_REGISTER and NETDEV_UNREGISTER events

Kevin Wilson wkevils at gmail.com
Wed Jul 3 09:15:02 EDT 2013


Hello,
I am having a machine with two ethernet devices.
Is there a way to generate NETDEV_REGISTER or NETDEV_UNREGISTER
events, besides rmmod/insmod of
the device driver ?
As far as I can see from the code,

this is the only way that the register_netdevice() method and the
unregister_netdev() method can be called:

http://lxr.free-electrons.com/source/net/core/dev.c#L5196


regards
Kevin



More information about the Kernelnewbies mailing list