move CONFIG_HOTPLUG to kernel/Kconfig.hotplug
Subsystems (6)
PATCH 1/1 move CONFIG_HOTPLUG to kernel/Kconfig.hotplug
I've also noticed that some archs (cris, h8300, m68k and sparc) don't have HOTPLUG in their Kconfig files, shame on you - no udev for you 8).
BTW maybe HOTPLUG should be moved from "Bus options" to "General setup"?
linux-2.6.3-rc2-bk4-root/arch/alpha/Kconfig | 18 +----------------- linux-2.6.3-rc2-bk4-root/arch/arm/Kconfig | 18 +----------------- linux-2.6.3-rc2-bk4-root/arch/arm26/Kconfig | 18 +----------------- linux-2.6.3-rc2-bk4-root/arch/i386/Kconfig | 18 +----------------- linux-2.6.3-rc2-bk4-root/arch/ia64/Kconfig | 18 +----------------- linux-2.6.3-rc2-bk4-root/arch/m68knommu/Kconfig | 18 +----------------- linux-2.6.3-rc2-bk4-root/arch/mips/Kconfig | 18 +----------------- linux-2.6.3-rc2-bk4-root/arch/ppc/Kconfig | 18 +----------------- linux-2.6.3-rc2-bk4-root/arch/ppc64/Kconfig | 18 +----------------- linux-2.6.3-rc2-bk4-root/arch/sh/Kconfig | 18 +----------------- linux-2.6.3-rc2-bk4-root/arch/sparc64/Kconfig | 18 +----------------- linux-2.6.3-rc2-bk4-root/arch/v850/Kconfig | 18 +----------------- linux-2.6.3-rc2-bk4-root/arch/x86_64/Kconfig | 18 +----------------- linux-2.6.3-rc2-bk4-root/drivers/parisc/Kconfig | 18 +----------------- linux-2.6.3-rc2-bk4-root/drivers/s390/Kconfig | 18 ------------------ linux-2.6.3-rc2-bk4-root/kernel/Kconfig.hotplug | 17 +++++++++++++++++ 16 files changed, 31 insertions(+), 256 deletions(-)
arch/alpha/Kconfig renamed from arch/alpha/Kconfig~Kconfig_hotplug +1 -17
@@ -569,23 +569,7 @@ config VERBOSE_MCHECK_ON source "drivers/pci/Kconfig" source "drivers/eisa/Kconfig" -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. +source "kernel/Kconfig.hotplug" source "drivers/pcmcia/Kconfig"
arch/arm26/Kconfig renamed from arch/arm26/Kconfig~Kconfig_hotplug +1 -17
@@ -118,23 +118,7 @@ config XIP_KERNEL Select this option to create a kernel that can be programed into the OS ROMs. -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. +source "kernel/Kconfig.hotplug" comment "At least one math emulation must be selected"
arch/arm/Kconfig renamed from arch/arm/Kconfig~Kconfig_hotplug +1 -17
@@ -365,23 +365,7 @@ endif source "drivers/pci/Kconfig" -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. +source "kernel/Kconfig.hotplug" source "drivers/pcmcia/Kconfig"
arch/i386/Kconfig renamed from arch/i386/Kconfig~Kconfig_hotplug +1 -17
@@ -1131,23 +1131,7 @@ config SCx200 This support is also available as a module. If compiled as a module, it will be called scx200. -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. +source "kernel/Kconfig.hotplug" source "drivers/pcmcia/Kconfig"
arch/ia64/Kconfig renamed from arch/ia64/Kconfig~Kconfig_hotplug +1 -17
@@ -439,23 +439,7 @@ config PCI_DOMAINS source "drivers/pci/Kconfig" -config HOTPLUG - bool "Support for hot-pluggable devices" - help - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. +source "kernel/Kconfig.hotplug" source "drivers/pci/hotplug/Kconfig"
arch/m68knommu/Kconfig renamed from arch/m68knommu/Kconfig~Kconfig_hotplug +1 -17
@@ -464,23 +464,7 @@ config COMEMPCI source "drivers/pci/Kconfig" -config HOTPLUG - bool "Support for hot-pluggable device" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. +source "kernel/Kconfig.hotplug" source "drivers/pcmcia/Kconfig"
arch/mips/Kconfig renamed from arch/mips/Kconfig~Kconfig_hotplug +1 -17
@@ -1104,23 +1104,7 @@ config MCA config SBUS bool -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. +source "kernel/Kconfig.hotplug" source "drivers/pcmcia/Kconfig"
arch/ppc64/Kconfig renamed from arch/ppc64/Kconfig~Kconfig_hotplug +1 -17
@@ -227,23 +227,7 @@ source "fs/Kconfig.binfmt" source "drivers/pci/Kconfig" -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. +source "kernel/Kconfig.hotplug" source "drivers/pcmcia/Kconfig"
arch/ppc/Kconfig renamed from arch/ppc/Kconfig~Kconfig_hotplug +1 -17
@@ -978,23 +978,7 @@ config PCI_PERMEDIA source "drivers/pci/Kconfig" -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. +source "kernel/Kconfig.hotplug" source "drivers/pcmcia/Kconfig"
arch/sh/Kconfig renamed from arch/sh/Kconfig~Kconfig_hotplug +1 -17
@@ -609,23 +609,7 @@ source "arch/sh/drivers/pci/Kconfig" source "drivers/pci/Kconfig" -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. +source "kernel/Kconfig.hotplug" source "drivers/pcmcia/Kconfig"
arch/sparc64/Kconfig renamed from arch/sparc64/Kconfig~Kconfig_hotplug +1 -17
@@ -186,23 +186,7 @@ config SPARC64 SPARC64 ports; its web page is available at <http://www.ultralinux.org/>. -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. +source "kernel/Kconfig.hotplug" # Global things across all Sun machines. config RWSEM_GENERIC_SPINLOCK
arch/v850/Kconfig renamed from arch/v850/Kconfig~Kconfig_hotplug +1 -17
@@ -236,23 +236,7 @@ menu "Bus options (PCI, PCMCIA, EISA, MC source "drivers/pci/Kconfig" -config HOTPLUG - bool "Support for hot-pluggable device" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. +source "kernel/Kconfig.hotplug" source "drivers/pcmcia/Kconfig"
arch/x86_64/Kconfig renamed from arch/x86_64/Kconfig~Kconfig_hotplug +1 -17
@@ -315,23 +315,7 @@ config PCI_USE_VECTOR source "drivers/pci/Kconfig" -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well-known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems, or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. +source "kernel/Kconfig.hotplug" source "drivers/pcmcia/Kconfig"
drivers/parisc/Kconfig renamed from drivers/parisc/Kconfig~Kconfig_hotplug +1 -17
@@ -143,24 +143,8 @@ config PDC_CHASSIS This has nothing to do with Chassis LCD and LED support. If unsure, say Y. - -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. +source "kernel/Kconfig.hotplug" source "drivers/pcmcia/Kconfig"
drivers/s390/Kconfig renamed from drivers/s390/Kconfig~Kconfig_hotplug +0 -18
@@ -165,24 +165,6 @@ config S390_TAPE_34XX endmenu - config HOTPLUG bool default y - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. - -
kernel/Kconfig.hotplug new file +17 -0
@@ -0,0 +1,17 @@ +config HOTPLUG + bool "Support for hot-pluggable devices" + help + Say Y here if you want to plug devices into your computer while + the system is running, and be able to use them quickly. In many + cases, the devices can likewise be unplugged at any time too. + + One well known example of this is PCMCIA- or PC-cards, credit-card + size devices such as network cards, modems or hard drives which are + plugged into slots found on all modern laptop computers. Another + example, used on modern desktops as well as laptops, is USB. + + Enable HOTPLUG and KMOD, and build a modular kernel. Get agent + software (at <http://linux-hotplug.sourceforge.net/>) and install it. + Then your kernel will automatically call out to a user mode "policy + agent" (/sbin/hotplug) to load modules and set up software needed + to use devices as you hotplug them.
_
Quoted 5 lines · Bartlomiej Zolnierkiewicz
I've also noticed that some archs (cris, h8300, m68k and sparc) don't have HOTPLUG in their
Kconfigfiles, shame on you - no udev for you 8).BTW maybe HOTPLUG should be moved from "Bus options" to "General setup"?
I agree, it should go there, as it affects so much more these days than "bus options".
Care to make that change instead?
thanks,
greg k-h
Quoted 10 lines · Greg KH
Quoted 4 lines · Bartlomiej Zolnierkiewicz
I've also noticed that some archs (cris, h8300, m68k and sparc) don't have HOTPLUG in their
Kconfigfiles, shame on you - no udev for you 8).BTW maybe HOTPLUG should be moved from "Bus options" to "General setup"?
I agree, it should go there, as it affects so much more these days than "bus options".
Care to make that change instead?
Done. I put HOTPLUG between SYSCTL and IKCONFIG.
--bart
[PATCH] move CONFIG_HOTPLUG to init/Kconfig
As a bonus: cris, h8300, m68k and sparc can use CONFIG_HOTPLUG now.
linux-2.6.3-rc3-root/arch/alpha/Kconfig | 18 ------------------ linux-2.6.3-rc3-root/arch/arm/Kconfig | 18 ------------------ linux-2.6.3-rc3-root/arch/arm26/Kconfig | 18 ------------------ linux-2.6.3-rc3-root/arch/i386/Kconfig | 18 ------------------ linux-2.6.3-rc3-root/arch/ia64/Kconfig | 18 ------------------ linux-2.6.3-rc3-root/arch/m68knommu/Kconfig | 18 ------------------ linux-2.6.3-rc3-root/arch/mips/Kconfig | 18 ------------------ linux-2.6.3-rc3-root/arch/ppc/Kconfig | 18 ------------------ linux-2.6.3-rc3-root/arch/ppc64/Kconfig | 18 ------------------ linux-2.6.3-rc3-root/arch/sh/Kconfig | 18 ------------------ linux-2.6.3-rc3-root/arch/sparc64/Kconfig | 18 ------------------ linux-2.6.3-rc3-root/arch/v850/Kconfig | 18 ------------------ linux-2.6.3-rc3-root/arch/x86_64/Kconfig | 18 ------------------ linux-2.6.3-rc3-root/drivers/parisc/Kconfig | 18 ------------------ linux-2.6.3-rc3-root/drivers/s390/Kconfig | 22 ---------------------- linux-2.6.3-rc3-root/init/Kconfig | 19 +++++++++++++++++++ 16 files changed, 19 insertions(+), 274 deletions(-)
arch/alpha/Kconfig renamed from arch/alpha/Kconfig~Kconfig_hotplug +0 -18
@@ -569,24 +569,6 @@ config VERBOSE_MCHECK_ON source "drivers/pci/Kconfig" source "drivers/eisa/Kconfig" -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. - source "drivers/pcmcia/Kconfig" config SRM_ENV
arch/arm26/Kconfig renamed from arch/arm26/Kconfig~Kconfig_hotplug +0 -18
@@ -118,24 +118,6 @@ config XIP_KERNEL Select this option to create a kernel that can be programed into the OS ROMs. -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. - comment "At least one math emulation must be selected" config FPE_NWFPE
arch/arm/Kconfig renamed from arch/arm/Kconfig~Kconfig_hotplug +0 -18
@@ -365,24 +365,6 @@ endif source "drivers/pci/Kconfig" -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. - source "drivers/pcmcia/Kconfig" comment "At least one math emulation must be selected"
arch/i386/Kconfig renamed from arch/i386/Kconfig~Kconfig_hotplug +0 -18
@@ -1131,24 +1131,6 @@ config SCx200 This support is also available as a module. If compiled as a module, it will be called scx200. -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. - source "drivers/pcmcia/Kconfig" source "drivers/pci/hotplug/Kconfig"
arch/ia64/Kconfig renamed from arch/ia64/Kconfig~Kconfig_hotplug +0 -18
@@ -439,24 +439,6 @@ config PCI_DOMAINS source "drivers/pci/Kconfig" -config HOTPLUG - bool "Support for hot-pluggable devices" - help - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. - source "drivers/pci/hotplug/Kconfig" source "drivers/pcmcia/Kconfig"
arch/m68knommu/Kconfig renamed from arch/m68knommu/Kconfig~Kconfig_hotplug +0 -18
@@ -464,24 +464,6 @@ config COMEMPCI source "drivers/pci/Kconfig" -config HOTPLUG - bool "Support for hot-pluggable device" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. - source "drivers/pcmcia/Kconfig" source "drivers/pci/hotplug/Kconfig"
arch/mips/Kconfig renamed from arch/mips/Kconfig~Kconfig_hotplug +0 -18
@@ -1104,24 +1104,6 @@ config MCA config SBUS bool -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. - source "drivers/pcmcia/Kconfig" source "drivers/pci/hotplug/Kconfig"
arch/ppc64/Kconfig renamed from arch/ppc64/Kconfig~Kconfig_hotplug +0 -18
@@ -227,24 +227,6 @@ source "fs/Kconfig.binfmt" source "drivers/pci/Kconfig" -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. - source "drivers/pcmcia/Kconfig" source "drivers/pci/hotplug/Kconfig"
arch/ppc/Kconfig renamed from arch/ppc/Kconfig~Kconfig_hotplug +0 -18
@@ -978,24 +978,6 @@ config PCI_PERMEDIA source "drivers/pci/Kconfig" -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. - source "drivers/pcmcia/Kconfig" endmenu
arch/sh/Kconfig renamed from arch/sh/Kconfig~Kconfig_hotplug +0 -18
@@ -609,24 +609,6 @@ source "arch/sh/drivers/pci/Kconfig" source "drivers/pci/Kconfig" -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. - source "drivers/pcmcia/Kconfig" source "drivers/pci/hotplug/Kconfig"
arch/sparc64/Kconfig renamed from arch/sparc64/Kconfig~Kconfig_hotplug +0 -18
@@ -186,24 +186,6 @@ config SPARC64 SPARC64 ports; its web page is available at <http://www.ultralinux.org/>. -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. - # Global things across all Sun machines. config RWSEM_GENERIC_SPINLOCK bool
arch/v850/Kconfig renamed from arch/v850/Kconfig~Kconfig_hotplug +0 -18
@@ -236,24 +236,6 @@ menu "Bus options (PCI, PCMCIA, EISA, MC source "drivers/pci/Kconfig" -config HOTPLUG - bool "Support for hot-pluggable device" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. - source "drivers/pcmcia/Kconfig" source "drivers/pci/hotplug/Kconfig"
arch/x86_64/Kconfig renamed from arch/x86_64/Kconfig~Kconfig_hotplug +0 -18
@@ -315,24 +315,6 @@ config PCI_USE_VECTOR source "drivers/pci/Kconfig" -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well-known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems, or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. - source "drivers/pcmcia/Kconfig" source "drivers/pci/hotplug/Kconfig"
drivers/parisc/Kconfig renamed from drivers/parisc/Kconfig~Kconfig_hotplug +0 -18
@@ -143,24 +143,6 @@ config PDC_CHASSIS This has nothing to do with Chassis LCD and LED support. If unsure, say Y. - -config HOTPLUG - bool "Support for hot-pluggable devices" - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. source "drivers/pcmcia/Kconfig"
drivers/s390/Kconfig renamed from drivers/s390/Kconfig~Kconfig_hotplug +0 -22
@@ -164,25 +164,3 @@ config S390_TAPE_34XX It is safe to say "Y" here. endmenu - - -config HOTPLUG - bool - default y - ---help--- - Say Y here if you want to plug devices into your computer while - the system is running, and be able to use them quickly. In many - cases, the devices can likewise be unplugged at any time too. - - One well known example of this is PCMCIA- or PC-cards, credit-card - size devices such as network cards, modems or hard drives which are - plugged into slots found on all modern laptop computers. Another - example, used on modern desktops as well as laptops, is USB. - - Enable HOTPLUG and KMOD, and build a modular kernel. Get agent - software (at <http://linux-hotplug.sourceforge.net/>) and install it. - Then your kernel will automatically call out to a user mode "policy - agent" (/sbin/hotplug) to load modules and set up software needed - to use devices as you hotplug them. - -
init/Kconfig renamed from init/Kconfig~Kconfig_hotplug +19 -0
@@ -137,6 +137,25 @@ config LOG_BUF_SHIFT 13 => 8 KB 12 => 4 KB +config HOTPLUG + bool "Support for hot-pluggable devices" if !ARCH_S390 + default ARCH_S390 + help + Say Y here if you want to plug devices into your computer while + the system is running, and be able to use them quickly. In many + cases, the devices can likewise be unplugged at any time too. + + One well known example of this is PCMCIA- or PC-cards, credit-card + size devices such as network cards, modems or hard drives which are + plugged into slots found on all modern laptop computers. Another + example, used on modern desktops as well as laptops, is USB. + + Enable HOTPLUG and KMOD, and build a modular kernel. Get agent + software (at <http://linux-hotplug.sourceforge.net/>) and install it. + Then your kernel will automatically call out to a user mode "policy + agent" (/sbin/hotplug) to load modules and set up software needed + to use devices as you hotplug them. + config IKCONFIG bool "Kernel .config support" ---help---
_
Quoted 12 lines · Bartlomiej Zolnierkiewicz
Quoted 10 lines · Greg KH
Quoted 4 lines · Bartlomiej Zolnierkiewicz
I've also noticed that some archs (cris, h8300, m68k and sparc) don't have HOTPLUG in their
Kconfigfiles, shame on you - no udev for you 8).BTW maybe HOTPLUG should be moved from "Bus options" to "General setup"?
I agree, it should go there, as it affects so much more these days than "bus options".
Care to make that change instead?
Quoted 8 lines
Done. I put HOTPLUG between SYSCTL and IKCONFIG.
--bart
[PATCH] move
CONFIG_HOTPLUGto init/KconfigAs a bonus: cris, h8300, m68k and sparc can use
CONFIG_HOTPLUGnow.
Looks good, I've applied this, thanks.
greg k-h