From: Hans de Goede <hdegoede@redhat.com>
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] PATCH: sensors-detect: detect FSC Hades and Syleus
Date: Sat, 14 Feb 2009 19:13:31 +0000 [thread overview]
Message-ID: <499717DB.2000905@redhat.com> (raw)
[-- 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
next reply other threads:[~2009-02-14 19:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-14 19:13 Hans de Goede [this message]
2009-02-18 16:24 ` [lm-sensors] PATCH: sensors-detect: detect FSC Hades and Syleus Jean Delvare
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=499717DB.2000905@redhat.com \
--to=hdegoede@redhat.com \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.