Skip to contentSkip to conversation

CONFIG_KOBJECT_UEVENTS in 2.6.15

PATCH In review Lukasz Stelmach 2 participants 2 messages Jan 29, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 CONFIG_KOBJECT_UEVENTS in 2.6.15

Greetings.

IMHO since CONFIG_KOBJECT_UEVENT depends on CONFIG_EMBEDDED it should be placed in this menu. Now it is in "General setup", what might cause, or I am such a dumb, some confusion because it is invisible "without any reason" until C_E is. Here you are a patch that, let me say, fixes the Kconfig file.

Signature · 1 line
Było mi bardzo miło.                    Czwarta pospolita klęska, [...]
Quoted 1 line

Łukasz< Już nie katolicka lecz złodziejska. (c)PP

----------------------------------------------------------------------
Kobiety i samochody... piekne! >>> http://link.interia.pl/f18f5

tmp/Kconfig-2.6.15 renamed from tmp/Kconfig-2.6.15-orig +19 -19
@@ -205,25 +205,6 @@
 	  modules require HOTPLUG functionality, but a module built
 	  outside the kernel tree does. Such modules require Y here.
 
-config KOBJECT_UEVENT
-	bool "Kernel Userspace Events" if EMBEDDED
-	depends on NET
-	default y
-	help
-	  This option enables the kernel userspace event layer, which is a
-	  simple mechanism for kernel-to-user communication over a netlink
-	  socket.
-	  The goal of the kernel userspace events layer is to provide a simple
-	  and efficient events system, that notifies userspace about kobject
-	  state changes. This will enable applications to just listen for
-	  events instead of polling system devices and files.
-	  Hotplug events (kobject addition and removal) are also available on
-	  the netlink socket in addition to the execution of /sbin/hotplug if
-	  CONFIG_HOTPLUG is enabled.
-
-	  Say Y, unless you are building a system requiring minimal memory
-	  consumption.
-
 config IKCONFIG
 	bool "Kernel .config support"
 	---help---
@@ -362,6 +343,25 @@
 	  option replaces shmem and tmpfs with the much simpler ramfs code,
 	  which may be appropriate on small systems without swap.
 
+config KOBJECT_UEVENT
+	bool "Kernel Userspace Events" if EMBEDDED
+	depends on NET
+	default y
+	help
+	  This option enables the kernel userspace event layer, which is a
+	  simple mechanism for kernel-to-user communication over a netlink
+	  socket.
+	  The goal of the kernel userspace events layer is to provide a simple
+	  and efficient events system, that notifies userspace about kobject
+	  state changes. This will enable applications to just listen for
+	  events instead of polling system devices and files.
+	  Hotplug events (kobject addition and removal) are also available on
+	  the netlink socket in addition to the execution of /sbin/hotplug if
+	  CONFIG_HOTPLUG is enabled.
+
+	  Say Y, unless you are building a system requiring minimal memory
+	  consumption.
+
 config CC_ALIGN_FUNCTIONS
 	int "Function alignment" if EMBEDDED
 	default 0
#1 lore raw
Quoted 7 lines · Lukasz Stelmach

Greetings.

IMHO since CONFIG_KOBJECT_UEVENT depends on CONFIG_EMBEDDED it should be placed in this menu. Now it is in "General setup", what might cause, or I am such a dumb, some confusion because it is invisible "without any reason" until C_E is. Here you are a patch that, let me say, fixes the Kconfig file.

KOBJECT_UEVENT is gone from 2.6.16-rc, so this patch isn't needed at all.

thanks,

greg k-h