Skip to contentSkip to conversation

More archs need to include hwmon/Kconfig

lm-sensors Jean Delvare 3 participants 4 messages Jun 9, 2005 – Jun 10, 2005 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

Hi Greg, Mark, all,

In 2.6.12-mm6-rc1 there is a fixup patch to have hwmon/Kconfig included on arch/sparc64:

http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc6/2.6.12-rc6-mm1/broken-out/gregkh-i2c-hwmon-02-sparc64-fix.patch

A quick search shows that arm and h3800 would need the same fix.

Additionally, until the hardware monitoring drivers are actually moved from drivers/i2c/chips to drivers/hwmon, hwmon/Kconfig should be included before i2c/Kconfig (not correct on sparc64 ATM). We will have to swap them when moving the drivers.

A replacement patch follows.

arch/arm/Kconfig renamed from arch/arm/Kconfig.orig +4 -0
@@ -715,6 +715,10 @@
 
 source "drivers/char/Kconfig"
 
+# hwmon before i2c - i2c/chips depends on it.
+
+source "drivers/hwmon/Kconfig"
+
 source "drivers/i2c/Kconfig"
 
 #source "drivers/l3/Kconfig"
arch/h8300/Kconfig renamed from arch/h8300/Kconfig.orig +4 -0
@@ -177,6 +177,10 @@
 
 source "drivers/serial/Kconfig"
 
+# hwmon before i2c - i2c/chips depends on it.
+
+source "drivers/hwmon/Kconfig"
+
 source "drivers/i2c/Kconfig"
 
 source "drivers/usb/Kconfig"
arch/sparc64/Kconfig renamed from arch/sparc64/Kconfig.orig +4 -0
@@ -608,6 +608,10 @@
 
 source "drivers/input/Kconfig"
 
+# hwmon before i2c - i2c/chips depends on it.
+
+source "drivers/hwmon/Kconfig"
+
 source "drivers/i2c/Kconfig"
 
 source "fs/Kconfig"
Signature · 1 line
Jean Delvare
#1 lore raw
Quoted 7 lines · Jean Delvare

Hi Greg, Mark, all,

In 2.6.12-mm6-rc1 there is a fixup patch to have hwmon/Kconfig included on arch/sparc64:

http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc6/2.6.12-rc6-mm1/broken-out/gregkh-i2c-hwmon-02-sparc64-fix.patch

Quoted 8 lines

A quick search shows that arm and h3800 would need the same fix.

Additionally, until the hardware monitoring drivers are actually moved from drivers/i2c/chips to drivers/hwmon, hwmon/Kconfig should be included before i2c/Kconfig (not correct on sparc64 ATM). We will have to swap them when moving the drivers.

A replacement patch follows.

Hm, this is getting quite messy.

Mark, how about I just drop the hwmon patches from my tree right now, until you respin them, fixing these issues up?

thanks,

greg k-h

#2 lore raw
In reply to Jean Delvare

Hi Greg, Jean, ...:

Quoted 1 line · Greg KH

Hm, this is getting quite messy.

It was just my subtle way of getting the error paths tested... ;)

Quoted 2 lines

Mark, how about I just drop the hwmon patches from my tree right now, until you respin them, fixing these issues up?

Fair enough, though, I'm not sure on what tree to base my next set of patches. I guess: 2.6.12-rc6-mm1 *minus* the three hwmon patches.

Regards,

Signature · 2 lines
Mark M. Hoffman
[email protected]
#3 lore raw
In reply to Jean Delvare
Quoted 6 lines · Mark M. Hoffman

Hi Greg, Jean, ...:

Quoted 1 line · Greg KH

Hm, this is getting quite messy.

It was just my subtle way of getting the error paths tested... ;)

Hey, we've all done it before :)

Quoted 5 lines
Quoted 2 lines

Mark, how about I just drop the hwmon patches from my tree right now, until you respin them, fixing these issues up?

Fair enough, though, I'm not sure on what tree to base my next set of patches. I guess: 2.6.12-rc6-mm1 *minus* the three hwmon patches.

That sounds good.

Or 2.6.12-rc6 (no -mm) I can figure it out from there.

thanks,

greg k-h