From 96f1a50f697f7a295b6795aec4b5f36a3f04c8c7 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Sat, 2 Oct 1999 14:24:07 +0000 Subject: [PATCH] (mds) add in name of thmc50/adm1022 driver. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@590 7894878c-1315-0410-8ee3-d5d059ff63e0 --- doc/chips/SUMMARY | 9 +++++---- prog/detect/sensors-detect | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/doc/chips/SUMMARY b/doc/chips/SUMMARY index 0a269a26..7bd59c38 100644 --- a/doc/chips/SUMMARY +++ b/doc/chips/SUMMARY @@ -42,10 +42,6 @@ adm1021 thmc10 2 - - - yes no xeon 1 - - - yes no -adm1022 (to-be-written) - adm1022 3 2 - 1 dac yes no - thmc50 3 2 - 1 dac yes no - adm9240 adm9240 1 6 2 1 dac yes no ds1780 1 6 2 1 dac yes no @@ -77,6 +73,10 @@ maxilife sis5595 sis5595 1 7 3 - no yes +thmc50 + adm1022 3 2 - 1 dac yes no + thmc50 3 2 - 1 dac yes no + w83781d w83781d 3 7 3 - yes yes w83782d 3 9 3 2-4 pwm yes yes @@ -118,6 +118,7 @@ COMPANY ID LIST Many SMBus chips have a company ID at location 0x3E or 0xFE. Here is a partial list. +This may help identify a chip after doing a 'i2cdump [bus] [address] b'. 0x01 National 0x23 AMD diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index cb8e42f6..097d4cf8 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -292,13 +292,13 @@ use subs qw(lm78_detect lm78_isa_detect lm78_alias_detect lm75_detect }, { name => "Analog Devices ADM1022", -# driver to be written + driver => "thmc50", i2c_addrs => [0x2c..0x2f], i2c_detect => sub { adm1022_detect 0, @_ }, }, { name => "Texas Instruments THMC50", -# driver to be written + driver => "thmc50", i2c_addrs => [0x2c..0x2f], i2c_detect => sub { adm1022_detect 1, @_ }, },