From 4ca6104c35858531439e8cf6e8a7c465295dd926 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Wed, 18 Feb 2009 20:31:49 +0000 Subject: [PATCH] sensors-detect: Add detection of FSC Hades and Syleus IC's git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5658 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 1 + prog/detect/sensors-detect | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/CHANGES b/CHANGES index 0d41f6b6..05a1e4f7 100644 --- a/CHANGES +++ b/CHANGES @@ -79,6 +79,7 @@ SVN-HEAD Add nNidia nForce MCP67, MCP73, MCP79 SMBus support Exclude auto-loaded PCI and USB drivers from list (#2368) Special case probing i2c address 0x73 (to not crash FSC ICs) + Add detection of FSC Hades and Syleus IC's sensors-detect-stat.pl: Delete (functionality merged into sensors-detect) sysconfig-lm_sensors-convert: Sample config file conversion script (#2246) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 1c39e498..f7f1f66a 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -1024,6 +1024,16 @@ use vars qw(@i2c_adapter_names); driver => "fschmd", 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", @@ -4649,6 +4659,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; }