diff options
author | Dean Nelson <dnelson@redhat.com> | 2011-11-04 07:00:45 -0400 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-11-04 07:00:45 -0400 |
commit | 746cdfbf01c0a30d59f6e1b6942d432658d7c7cd (patch) | |
tree | d5b83d6a1fd487f98e42ad215ad7bd89d495a5dd /drivers/hwmon/Kconfig | |
parent | 1a67a573b8d9f02211f36fbab50f6265dc49384a (diff) |
hwmon: Avoid building drivers for powerpc that read/write ISA addresses
A modprobe of hwmon drivers that read/write ISA addresses on a powerpc results
in a kernel Oops. These reads/writes are being done via the inb()/in_8() and
outb()/out_8() macros.
Prevent these drivers from being built for powerpc.
Signed-off-by: Dean Nelson <dnelson@redhat.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r-- | drivers/hwmon/Kconfig | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 9b347acf1559..279a509dca9f 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig | |||
@@ -335,6 +335,7 @@ config SENSORS_I5K_AMB | |||
335 | 335 | ||
336 | config SENSORS_F71805F | 336 | config SENSORS_F71805F |
337 | tristate "Fintek F71805F/FG, F71806F/FG and F71872F/FG" | 337 | tristate "Fintek F71805F/FG, F71806F/FG and F71872F/FG" |
338 | depends on !PPC | ||
338 | help | 339 | help |
339 | If you say yes here you get support for hardware monitoring | 340 | If you say yes here you get support for hardware monitoring |
340 | features of the Fintek F71805F/FG, F71806F/FG and F71872F/FG | 341 | features of the Fintek F71805F/FG, F71806F/FG and F71872F/FG |
@@ -345,6 +346,7 @@ config SENSORS_F71805F | |||
345 | 346 | ||
346 | config SENSORS_F71882FG | 347 | config SENSORS_F71882FG |
347 | tristate "Fintek F71882FG and compatibles" | 348 | tristate "Fintek F71882FG and compatibles" |
349 | depends on !PPC | ||
348 | help | 350 | help |
349 | If you say yes here you get support for hardware monitoring | 351 | If you say yes here you get support for hardware monitoring |
350 | features of many Fintek Super-I/O (LPC) chips. The currently | 352 | features of many Fintek Super-I/O (LPC) chips. The currently |
@@ -468,6 +470,7 @@ config SENSORS_IBMPEX | |||
468 | 470 | ||
469 | config SENSORS_IT87 | 471 | config SENSORS_IT87 |
470 | tristate "ITE IT87xx and compatibles" | 472 | tristate "ITE IT87xx and compatibles" |
473 | depends on !PPC | ||
471 | select HWMON_VID | 474 | select HWMON_VID |
472 | help | 475 | help |
473 | If you say yes here you get support for ITE IT8705F, IT8712F, | 476 | If you say yes here you get support for ITE IT8705F, IT8712F, |
@@ -824,6 +827,7 @@ config SENSORS_NTC_THERMISTOR | |||
824 | 827 | ||
825 | config SENSORS_PC87360 | 828 | config SENSORS_PC87360 |
826 | tristate "National Semiconductor PC87360 family" | 829 | tristate "National Semiconductor PC87360 family" |
830 | depends on !PPC | ||
827 | select HWMON_VID | 831 | select HWMON_VID |
828 | help | 832 | help |
829 | If you say yes here you get access to the hardware monitoring | 833 | If you say yes here you get access to the hardware monitoring |
@@ -837,6 +841,7 @@ config SENSORS_PC87360 | |||
837 | 841 | ||
838 | config SENSORS_PC87427 | 842 | config SENSORS_PC87427 |
839 | tristate "National Semiconductor PC87427" | 843 | tristate "National Semiconductor PC87427" |
844 | depends on !PPC | ||
840 | help | 845 | help |
841 | If you say yes here you get access to the hardware monitoring | 846 | If you say yes here you get access to the hardware monitoring |
842 | functions of the National Semiconductor PC87427 Super-I/O chip. | 847 | functions of the National Semiconductor PC87427 Super-I/O chip. |
@@ -928,7 +933,7 @@ config SENSORS_SMM665 | |||
928 | 933 | ||
929 | config SENSORS_DME1737 | 934 | config SENSORS_DME1737 |
930 | tristate "SMSC DME1737, SCH311x and compatibles" | 935 | tristate "SMSC DME1737, SCH311x and compatibles" |
931 | depends on I2C && EXPERIMENTAL | 936 | depends on I2C && EXPERIMENTAL && !PPC |
932 | select HWMON_VID | 937 | select HWMON_VID |
933 | help | 938 | help |
934 | If you say yes here you get support for the hardware monitoring | 939 | If you say yes here you get support for the hardware monitoring |
@@ -970,6 +975,7 @@ config SENSORS_EMC6W201 | |||
970 | 975 | ||
971 | config SENSORS_SMSC47M1 | 976 | config SENSORS_SMSC47M1 |
972 | tristate "SMSC LPC47M10x and compatibles" | 977 | tristate "SMSC LPC47M10x and compatibles" |
978 | depends on !PPC | ||
973 | help | 979 | help |
974 | If you say yes here you get support for the integrated fan | 980 | If you say yes here you get support for the integrated fan |
975 | monitoring and control capabilities of the SMSC LPC47B27x, | 981 | monitoring and control capabilities of the SMSC LPC47B27x, |
@@ -1003,7 +1009,7 @@ config SENSORS_SMSC47M192 | |||
1003 | 1009 | ||
1004 | config SENSORS_SMSC47B397 | 1010 | config SENSORS_SMSC47B397 |
1005 | tristate "SMSC LPC47B397-NC" | 1011 | tristate "SMSC LPC47B397-NC" |
1006 | depends on EXPERIMENTAL | 1012 | depends on EXPERIMENTAL && !PPC |
1007 | help | 1013 | help |
1008 | If you say yes here you get support for the SMSC LPC47B397-NC | 1014 | If you say yes here you get support for the SMSC LPC47B397-NC |
1009 | sensor chip. | 1015 | sensor chip. |
@@ -1017,6 +1023,7 @@ config SENSORS_SCH56XX_COMMON | |||
1017 | 1023 | ||
1018 | config SENSORS_SCH5627 | 1024 | config SENSORS_SCH5627 |
1019 | tristate "SMSC SCH5627" | 1025 | tristate "SMSC SCH5627" |
1026 | depends on !PPC | ||
1020 | select SENSORS_SCH56XX_COMMON | 1027 | select SENSORS_SCH56XX_COMMON |
1021 | help | 1028 | help |
1022 | If you say yes here you get support for the hardware monitoring | 1029 | If you say yes here you get support for the hardware monitoring |
@@ -1027,6 +1034,7 @@ config SENSORS_SCH5627 | |||
1027 | 1034 | ||
1028 | config SENSORS_SCH5636 | 1035 | config SENSORS_SCH5636 |
1029 | tristate "SMSC SCH5636" | 1036 | tristate "SMSC SCH5636" |
1037 | depends on !PPC | ||
1030 | select SENSORS_SCH56XX_COMMON | 1038 | select SENSORS_SCH56XX_COMMON |
1031 | help | 1039 | help |
1032 | SMSC SCH5636 Super I/O chips include an embedded microcontroller for | 1040 | SMSC SCH5636 Super I/O chips include an embedded microcontroller for |
@@ -1150,6 +1158,7 @@ config SENSORS_VIA686A | |||
1150 | 1158 | ||
1151 | config SENSORS_VT1211 | 1159 | config SENSORS_VT1211 |
1152 | tristate "VIA VT1211" | 1160 | tristate "VIA VT1211" |
1161 | depends on !PPC | ||
1153 | select HWMON_VID | 1162 | select HWMON_VID |
1154 | help | 1163 | help |
1155 | If you say yes here then you get support for hardware monitoring | 1164 | If you say yes here then you get support for hardware monitoring |
@@ -1262,6 +1271,7 @@ config SENSORS_W83L786NG | |||
1262 | 1271 | ||
1263 | config SENSORS_W83627HF | 1272 | config SENSORS_W83627HF |
1264 | tristate "Winbond W83627HF, W83627THF, W83637HF, W83687THF, W83697HF" | 1273 | tristate "Winbond W83627HF, W83627THF, W83637HF, W83687THF, W83697HF" |
1274 | depends on !PPC | ||
1265 | select HWMON_VID | 1275 | select HWMON_VID |
1266 | help | 1276 | help |
1267 | If you say yes here you get support for the Winbond W836X7 series | 1277 | If you say yes here you get support for the Winbond W836X7 series |
@@ -1273,6 +1283,7 @@ config SENSORS_W83627HF | |||
1273 | 1283 | ||
1274 | config SENSORS_W83627EHF | 1284 | config SENSORS_W83627EHF |
1275 | tristate "Winbond W83627EHF/EHG/DHG, W83667HG, NCT6775F, NCT6776F" | 1285 | tristate "Winbond W83627EHF/EHG/DHG, W83667HG, NCT6775F, NCT6776F" |
1286 | depends on !PPC | ||
1276 | select HWMON_VID | 1287 | select HWMON_VID |
1277 | help | 1288 | help |
1278 | If you say yes here you get support for the hardware | 1289 | If you say yes here you get support for the hardware |