mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-19 19:40:49 +00:00
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
This commit is contained in:
1 parent
a7ad8ad9cc
commit
4ca6104c35
2 files changed
+13
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user