]> git.baikalelectronics.ru Git - kernel.git/commit
net: introduce NETDEV_POST_INIT notifier
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 2 Oct 2009 05:15:27 +0000 (05:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Oct 2009 07:43:34 +0000 (00:43 -0700)
commitb6a86c54a5e17cf54612b451f314cda79184b220
tree97c0905b309bded1f37f94070315ce16ad65f487
parent2d3105b68ed4dcc07e06e5c154e36af6969ef2ff
net: introduce NETDEV_POST_INIT notifier

For various purposes including a wireless extensions
bugfix, we need to hook into the netdev creation before
before netdev_register_kobject(). This will also ease
doing the dev type assignment that Marcel was working
on for cfg80211 drivers w/o touching them all.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/notifier.h
net/core/dev.c