All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] PATCH: sensors-detect: detect FSC Hades and Syleus
@ 2009-02-14 19:13 Hans de Goede
  2009-02-18 16:24 ` Jean Delvare
  0 siblings, 1 reply; 2+ messages in thread
From: Hans de Goede @ 2009-02-14 19:13 UTC (permalink / raw)
  To: lm-sensors

[-- Attachment #1: Type: text/plain, Size: 94 bytes --]

Hi,

This patch adds detection of the FSC Hades and Syleus to sensors-detect.

Regards,

Hans

[-- Attachment #2: sensors-detect-fschds-n-fscsyl.patch --]
[-- Type: text/plain, Size: 988 bytes --]

diff -up prog/detect/sensors-detect.fsc-rework prog/detect/sensors-detect
--- prog/detect/sensors-detect.fsc-rework	2009-02-14 19:49:38.000000000 +0100
+++ prog/detect/sensors-detect	2009-02-14 19:56:52.000000000 +0100
@@ -1025,6 +1025,16 @@ use vars qw(@i2c_adapter_names);
 		i2c_addrs => [0x73],
 		i2c_detect => sub { fsc_detect(@_, 5); },
 	}, {
+		name => "FSC Hades",
+		driver => "fschmd",
+		i2c_addrs => [0x73],
+		i2c_detect => sub { fsc_detect(@_, 6); },
+	}, {
+		name => "FSC Syleus",
+		driver => "fschmd",
+		i2c_addrs => [0x73],
+		i2c_detect => sub { fsc_detect(@_, 7); },
+	}, {
 		name => "ALi M5879",
 		driver => "to-be-written",
 		i2c_addrs => [0x2c..0x2d],
@@ -4648,6 +4658,8 @@ sub fsc_detect
 	return if $chip == 3 and $id ne 'HER';	# Hermes
 	return if $chip == 4 and $id ne 'HMD';	# Heimdal
 	return if $chip == 5 and $id ne 'HRC';	# Heracles
+	return if $chip == 6 and $id ne 'HDS';	# Hades
+	return if $chip == 7 and $id ne 'SYL';	# Syleus
 
 	return 8;
 }

[-- Attachment #3: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [lm-sensors] PATCH: sensors-detect: detect FSC Hades and Syleus
  2009-02-14 19:13 [lm-sensors] PATCH: sensors-detect: detect FSC Hades and Syleus Hans de Goede
@ 2009-02-18 16:24 ` Jean Delvare
  0 siblings, 0 replies; 2+ messages in thread
From: Jean Delvare @ 2009-02-18 16:24 UTC (permalink / raw)
  To: lm-sensors

On Sat, 14 Feb 2009 20:13:31 +0100, Hans de Goede wrote:
> This patch adds detection of the FSC Hades and Syleus to sensors-detect.

Looks OK to me.

Thanks,
-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-18 16:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-14 19:13 [lm-sensors] PATCH: sensors-detect: detect FSC Hades and Syleus Hans de Goede
2009-02-18 16:24 ` Jean Delvare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.