Skip to contentSkip to conversation

I8K: Adds i8k driver to the x86_64 Kconfig

PATCH In review Bradley Smith 3 participants 4 messages Oct 28, 2007 – Nov 15, 2007 x86

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 I8K: Adds i8k driver to the x86_64 Kconfig

From: Bradley Smith <[email protected]>

Adds i8k driver to the x86_64 Kconfig.

---

Only applies on kernels >= 2.6.24.
Depends on "[PATCH 1/2] I8K: Allow i8k driver to be built on x86_64 systems"

arch/x86/Kconfig.x86_64 renamed from arch/x86/Kconfig.x86_64.orig +20 -0
@@ -224,6 +224,26 @@ config X86_GOOD_APIC
 	bool
 	default y
 
+config I8K
+	tristate "Dell laptop support"
+	---help---
+	  This adds a driver to safely access the System Management Mode
+	  of the CPU on the Dell Inspiron 8000. The System Management Mode
+	  is used to read cpu temperature and cooling fan status and to
+	  control the fans on the I8K portables.
+
+	  This driver has been tested only on the Inspiron 8000 but it may
+	  also work with other Dell laptops. You can force loading on other
+	  models by passing the parameter `force=1' to the module. Use at
+	  your own risk.
+
+	  For information on utilities to make use of this driver see the
+	  I8K Linux utilities web site at:
+	  <http://people.debian.org/~dz/i8k/>
+
+	  Say Y if you intend to run this kernel on a Dell Inspiron 8000.
+	  Say N otherwise.
+
 config MICROCODE
 	tristate "/dev/cpu/microcode - Intel CPU microcode support"
 	select FW_LOADER
#1 lore raw

arch/x86/Kconfig.x86_64 config X86_GOOD_APIC · line 228

Quoted 2 lines · Bradley Smith
arch/x86/Kconfig.x86_64 renamed from arch/x86/Kconfig.x86_64.orig +2 -0
+config I8K
+     tristate "Dell laptop support"

Shouldn't that be config DELL_I8K, or even DELL_INSPIRON_8K?

Cheers,
Frans Pop

#2 lore raw
Quoted 8 lines · On Sun, 28 Oct 2007 18:46:40 +0100 Frans Pop <[email protected]> wrote:

arch/x86/Kconfig.x86_64 config X86_GOOD_APIC · line 228

Quoted 2 lines · Bradley Smith
arch/x86/Kconfig.x86_64 renamed from arch/x86/Kconfig.x86_64.orig +2 -0
+config I8K
+     tristate "Dell laptop support"

Shouldn't that be config DELL_I8K, or even DELL_INSPIRON_8K?

Cheers,
Frans Pop

I was going by linux-2.6/arch/x86/Kconfig.i386, which has "config I8K" but maybe it should be changed...

Brad.

#3 lore raw
In reply to Bradley Smith
Quoted 30 lines · On Sun, 28 Oct 2007 17:26:13 +0000 Bradley Smith <[email protected]>…

From: Bradley Smith <[email protected]>

Adds i8k driver to the x86_64 Kconfig.

---

Only applies on kernels >= 2.6.24.
Depends on "[PATCH 1/2] I8K: Allow i8k driver to be built on x86_64 systems"

arch/x86/Kconfig.x86_64 renamed from arch/x86/Kconfig.x86_64.orig +13 -0
@@ -224,6 +224,26 @@ config X86_GOOD_APIC
 	bool
 	default y
 
+config I8K
+	tristate "Dell laptop support"
+	---help---
+	  This adds a driver to safely access the System Management Mode
+	  of the CPU on the Dell Inspiron 8000. The System Management Mode
+	  is used to read cpu temperature and cooling fan status and to
+	  control the fans on the I8K portables.
+
+	  This driver has been tested only on the Inspiron 8000 but it may
+	  also work with other Dell laptops. You can force loading on other
+	  models by passing the parameter `force=1' to the module. Use at
+	  your own risk.
+

arch/x86/Kconfig.x86_64 config X86_GOOD_APIC · line 249

Quoted 10 lines
arch/x86/Kconfig.x86_64 renamed from arch/x86/Kconfig.x86_64.orig +7 -0
+	  For information on utilities to make use of this driver see the
+	  I8K Linux utilities web site at:
+	  <http://people.debian.org/~dz/i8k/>
+
+	  Say Y if you intend to run this kernel on a Dell Inspiron 8000.
+	  Say N otherwise.
+
 config MICROCODE
 	tristate "/dev/cpu/microcode - Intel CPU microcode support"
 	select FW_LOADER

The i386 and x86_64 Kconfig files just got unified, so this patch became agreeably simpler:

arch/x86/Kconfig renamed from arch/x86/Kconfig~i8k-adds-i8k-driver-to-the-x86_64-kconfig +0 -1
@@ -641,7 +641,6 @@ config TOSHIBA
 
 config I8K
 	tristate "Dell laptop support"
-	depends on X86_32
 	---help---
 	  This adds a driver to safely access the System Management Mode
 	  of the CPU on the Dell Inspiron 8000. The System Management Mode

_