Re: [PATCH 08/36] Use menuconfig objects II - hwmon

2007-05-03 Thread Jean Delvare
Hi Jan,

On Mon, 30 Apr 2007 13:28:29 +0200 (MEST), Jan Engelhardt wrote:
> 
> Change Kconfig objects from "menu, config" into "menuconfig" so
> that the user can disable the whole feature without having to
> enter the menu first.
> 
> Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]>
> 
> ---
>  drivers/hwmon/Kconfig |  109 
> --
>  1 file changed, 53 insertions(+), 56 deletions(-)

Applied, thanks.

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


Re: [PATCH 08/36] Use menuconfig objects II - hwmon

2007-05-03 Thread Jean Delvare
Hi Jan,

On Mon, 30 Apr 2007 13:28:29 +0200 (MEST), Jan Engelhardt wrote:
 
 Change Kconfig objects from menu, config into menuconfig so
 that the user can disable the whole feature without having to
 enter the menu first.
 
 Signed-off-by: Jan Engelhardt [EMAIL PROTECTED]
 
 ---
  drivers/hwmon/Kconfig |  109 
 --
  1 file changed, 53 insertions(+), 56 deletions(-)

Applied, thanks.

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


[PATCH 08/36] Use menuconfig objects II - hwmon

2007-04-30 Thread Jan Engelhardt

Change Kconfig objects from "menu, config" into "menuconfig" so
that the user can disable the whole feature without having to
enter the menu first.

Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]>

---
 drivers/hwmon/Kconfig |  109 --
 1 file changed, 53 insertions(+), 56 deletions(-)

--- linux-2.6.21-mm_20070428.orig/drivers/hwmon/Kconfig
+++ linux-2.6.21-mm_20070428/drivers/hwmon/Kconfig
@@ -2,9 +2,7 @@
 # Hardware monitoring chip drivers configuration
 #
 
-menu "Hardware Monitoring support"
-
-config HWMON
+menuconfig HWMON
tristate "Hardware Monitoring support"
default y
help
@@ -23,13 +21,15 @@ config HWMON
  This support can also be built as a module.  If so, the module
  will be called hwmon.
 
+if HWMON
+
 config HWMON_VID
tristate
default n
 
 config SENSORS_ABITUGURU
tristate "Abit uGuru"
-   depends on HWMON && EXPERIMENTAL
+   depends on EXPERIMENTAL
help
  If you say yes here you get support for the Abit uGuru chips
  sensor part. The voltage and frequency control parts of the Abit
@@ -41,7 +41,7 @@ config SENSORS_ABITUGURU
 
 config SENSORS_AD7418
tristate "Analog Devices AD7416, AD7417 and AD7418"
-   depends on HWMON && I2C && EXPERIMENTAL
+   depends on I2C && EXPERIMENTAL
help
  If you say yes here you get support for the Analog Devices
  AD7416, AD7417 and AD7418 temperature monitoring chips.
@@ -51,7 +51,7 @@ config SENSORS_AD7418
 
 config SENSORS_ADM1021
tristate "Analog Devices ADM1021 and compatibles"
-   depends on HWMON && I2C
+   depends on I2C
help
  If you say yes here you get support for Analog Devices ADM1021
  and ADM1023 sensor chips and clones: Maxim MAX1617 and MAX1617A,
@@ -63,7 +63,7 @@ config SENSORS_ADM1021
 
 config SENSORS_ADM1025
tristate "Analog Devices ADM1025 and compatibles"
-   depends on HWMON && I2C
+   depends on I2C
select HWMON_VID
help
  If you say yes here you get support for Analog Devices ADM1025
@@ -74,7 +74,7 @@ config SENSORS_ADM1025
 
 config SENSORS_ADM1026
tristate "Analog Devices ADM1026 and compatibles"
-   depends on HWMON && I2C && EXPERIMENTAL
+   depends on I2C && EXPERIMENTAL
select HWMON_VID
help
  If you say yes here you get support for Analog Devices ADM1026
@@ -85,7 +85,7 @@ config SENSORS_ADM1026
 
 config SENSORS_ADM1029
tristate "Analog Devices ADM1029"
-   depends on HWMON && I2C && EXPERIMENTAL
+   depends on I2C && EXPERIMENTAL
help
  If you say yes here you get support for Analog Devices ADM1029
  sensor chip.
@@ -96,7 +96,7 @@ config SENSORS_ADM1029
 
 config SENSORS_ADM1031
tristate "Analog Devices ADM1031 and compatibles"
-   depends on HWMON && I2C && EXPERIMENTAL
+   depends on I2C && EXPERIMENTAL
help
  If you say yes here you get support for Analog Devices ADM1031
  and ADM1030 sensor chips.
@@ -106,7 +106,7 @@ config SENSORS_ADM1031
 
 config SENSORS_ADM9240
tristate "Analog Devices ADM9240 and compatibles"
-   depends on HWMON && I2C && EXPERIMENTAL
+   depends on I2C && EXPERIMENTAL
select HWMON_VID
help
  If you say yes here you get support for Analog Devices ADM9240,
@@ -117,7 +117,7 @@ config SENSORS_ADM9240
 
 config SENSORS_K8TEMP
tristate "AMD Athlon64/FX or Opteron temperature sensor"
-   depends on HWMON && X86 && PCI && EXPERIMENTAL
+   depends on X86 && PCI && EXPERIMENTAL
help
  If you say yes here you get support for the temperature
  sensor(s) inside your CPU. Supported is whole AMD K8
@@ -129,7 +129,7 @@ config SENSORS_K8TEMP
 
 config SENSORS_AMS
tristate "Apple Motion Sensor driver"
-   depends on HWMON && PPC_PMAC && !PPC64 && INPUT && ((ADB_PMU && I2C = 
y) || (ADB_PMU && !I2C) || I2C) && EXPERIMENTAL
+   depends on PPC_PMAC && !PPC64 && INPUT && ((ADB_PMU && I2C = y) || 
(ADB_PMU && !I2C) || I2C) && EXPERIMENTAL
help
  Support for the motion sensor included in PowerBooks. Includes
  implementations for PMU and I2C.
@@ -154,7 +154,7 @@ config SENSORS_AMS_I2C
 
 config SENSORS_ASB100
tristate "Asus ASB100 Bach"
-   depends on HWMON && I2C && EXPERIMENTAL
+   depends on I2C && EXPERIMENTAL
select HWMON_VID
help
  If you say yes here you get support for the ASB100 Bach sensor
@@ -165,7 +165,7 @@ config SENSORS_ASB100
 
 config SENSORS_ATXP1
tristate "Attansic ATXP1 VID controller"
-   depends on HWMON && I2C && EXPERIMENTAL
+   depends on I2C && EXPERIMENTAL
select HWMON_VID
help
  If you say yes here you get support for the Attansic ATXP1 VID
@@ -179,7 +179,7 @@ config SENSORS_ATXP1
 
 config SENSORS_DS1621
tristate 

[PATCH 08/36] Use menuconfig objects II - hwmon

2007-04-30 Thread Jan Engelhardt

Change Kconfig objects from menu, config into menuconfig so
that the user can disable the whole feature without having to
enter the menu first.

Signed-off-by: Jan Engelhardt [EMAIL PROTECTED]

---
 drivers/hwmon/Kconfig |  109 --
 1 file changed, 53 insertions(+), 56 deletions(-)

--- linux-2.6.21-mm_20070428.orig/drivers/hwmon/Kconfig
+++ linux-2.6.21-mm_20070428/drivers/hwmon/Kconfig
@@ -2,9 +2,7 @@
 # Hardware monitoring chip drivers configuration
 #
 
-menu Hardware Monitoring support
-
-config HWMON
+menuconfig HWMON
tristate Hardware Monitoring support
default y
help
@@ -23,13 +21,15 @@ config HWMON
  This support can also be built as a module.  If so, the module
  will be called hwmon.
 
+if HWMON
+
 config HWMON_VID
tristate
default n
 
 config SENSORS_ABITUGURU
tristate Abit uGuru
-   depends on HWMON  EXPERIMENTAL
+   depends on EXPERIMENTAL
help
  If you say yes here you get support for the Abit uGuru chips
  sensor part. The voltage and frequency control parts of the Abit
@@ -41,7 +41,7 @@ config SENSORS_ABITUGURU
 
 config SENSORS_AD7418
tristate Analog Devices AD7416, AD7417 and AD7418
-   depends on HWMON  I2C  EXPERIMENTAL
+   depends on I2C  EXPERIMENTAL
help
  If you say yes here you get support for the Analog Devices
  AD7416, AD7417 and AD7418 temperature monitoring chips.
@@ -51,7 +51,7 @@ config SENSORS_AD7418
 
 config SENSORS_ADM1021
tristate Analog Devices ADM1021 and compatibles
-   depends on HWMON  I2C
+   depends on I2C
help
  If you say yes here you get support for Analog Devices ADM1021
  and ADM1023 sensor chips and clones: Maxim MAX1617 and MAX1617A,
@@ -63,7 +63,7 @@ config SENSORS_ADM1021
 
 config SENSORS_ADM1025
tristate Analog Devices ADM1025 and compatibles
-   depends on HWMON  I2C
+   depends on I2C
select HWMON_VID
help
  If you say yes here you get support for Analog Devices ADM1025
@@ -74,7 +74,7 @@ config SENSORS_ADM1025
 
 config SENSORS_ADM1026
tristate Analog Devices ADM1026 and compatibles
-   depends on HWMON  I2C  EXPERIMENTAL
+   depends on I2C  EXPERIMENTAL
select HWMON_VID
help
  If you say yes here you get support for Analog Devices ADM1026
@@ -85,7 +85,7 @@ config SENSORS_ADM1026
 
 config SENSORS_ADM1029
tristate Analog Devices ADM1029
-   depends on HWMON  I2C  EXPERIMENTAL
+   depends on I2C  EXPERIMENTAL
help
  If you say yes here you get support for Analog Devices ADM1029
  sensor chip.
@@ -96,7 +96,7 @@ config SENSORS_ADM1029
 
 config SENSORS_ADM1031
tristate Analog Devices ADM1031 and compatibles
-   depends on HWMON  I2C  EXPERIMENTAL
+   depends on I2C  EXPERIMENTAL
help
  If you say yes here you get support for Analog Devices ADM1031
  and ADM1030 sensor chips.
@@ -106,7 +106,7 @@ config SENSORS_ADM1031
 
 config SENSORS_ADM9240
tristate Analog Devices ADM9240 and compatibles
-   depends on HWMON  I2C  EXPERIMENTAL
+   depends on I2C  EXPERIMENTAL
select HWMON_VID
help
  If you say yes here you get support for Analog Devices ADM9240,
@@ -117,7 +117,7 @@ config SENSORS_ADM9240
 
 config SENSORS_K8TEMP
tristate AMD Athlon64/FX or Opteron temperature sensor
-   depends on HWMON  X86  PCI  EXPERIMENTAL
+   depends on X86  PCI  EXPERIMENTAL
help
  If you say yes here you get support for the temperature
  sensor(s) inside your CPU. Supported is whole AMD K8
@@ -129,7 +129,7 @@ config SENSORS_K8TEMP
 
 config SENSORS_AMS
tristate Apple Motion Sensor driver
-   depends on HWMON  PPC_PMAC  !PPC64  INPUT  ((ADB_PMU  I2C = 
y) || (ADB_PMU  !I2C) || I2C)  EXPERIMENTAL
+   depends on PPC_PMAC  !PPC64  INPUT  ((ADB_PMU  I2C = y) || 
(ADB_PMU  !I2C) || I2C)  EXPERIMENTAL
help
  Support for the motion sensor included in PowerBooks. Includes
  implementations for PMU and I2C.
@@ -154,7 +154,7 @@ config SENSORS_AMS_I2C
 
 config SENSORS_ASB100
tristate Asus ASB100 Bach
-   depends on HWMON  I2C  EXPERIMENTAL
+   depends on I2C  EXPERIMENTAL
select HWMON_VID
help
  If you say yes here you get support for the ASB100 Bach sensor
@@ -165,7 +165,7 @@ config SENSORS_ASB100
 
 config SENSORS_ATXP1
tristate Attansic ATXP1 VID controller
-   depends on HWMON  I2C  EXPERIMENTAL
+   depends on I2C  EXPERIMENTAL
select HWMON_VID
help
  If you say yes here you get support for the Attansic ATXP1 VID
@@ -179,7 +179,7 @@ config SENSORS_ATXP1
 
 config SENSORS_DS1621
tristate Dallas Semiconductor DS1621 and DS1625
-   depends on HWMON  I2C
+   depends on I2C
help
  If