From 26ebdf4fa3272e792620c939378598b91096352e Mon Sep 17 00:00:00 2001 From: Kyosti Malkki Date: Sun, 7 Feb 1999 01:58:06 +0000 Subject: [PATCH] =?UTF-8?q?(Ky=C3=B6sti)=20=20SiS5595=20documentation=20fo?= =?UTF-8?q?rwarding=20you=20to=20LM78=20documents.=20Renamed=20sensors=20e?= =?UTF-8?q?ntry=20from=20"SiS=205595=20Sensor-*"=20to=20"sis5595-*"=20Adde?= =?UTF-8?q?d=20this=20name=20in=20sensors.conf.eg=20to=20use=20lm78=20name?= =?UTF-8?q?s=20for=20inputs.=20Small=20related=20document=20updates.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@199 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CONTRIBUTORS | 2 +- TODO | 4 ++-- doc/chips/sis5595 | 7 +++++++ etc/sensors.conf.eg | 2 +- kernel/chips/sis5595.c | 8 ++++---- 5 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 doc/chips/sis5595 diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 7180812f..a380d67d 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -21,7 +21,7 @@ problems. the original CVS archive, and even managed to explain to us how to use it. * Kyösti Mälkki - Author of the i2c-via driver. + Author of the i2c-via and sis5595 driver. * Simon Vogl Wrote the new i2c kernel driver. This driver is indispensable for the diff --git a/TODO b/TODO index 3fb60c46..66c21308 100644 --- a/TODO +++ b/TODO @@ -35,7 +35,7 @@ Many, many things. Most notably: * Write a userland detection program for busses (clients are less important; but perhaps needed too). * Some library routines are pretty inefficient right now -* Write SIS5591/95/98 adapter support - Thomas Dickel owns one. +* Test SIS5595(/91/98) sensor support. Write generic i2c support. + Thomas Dickel owns one SIS5595. * Write Acer Labs Aladdin V southbridge (M1543C) support Mark Studebaker is working on it. diff --git a/doc/chips/sis5595 b/doc/chips/sis5595 new file mode 100644 index 00000000..6f81951c --- /dev/null +++ b/doc/chips/sis5595 @@ -0,0 +1,7 @@ + +This driver is for the SiS 5595 southbridge. +This is called sis5595-isa-* in /proc/sys/dev/sensors/chips + +It has an integrated LM78 connected on ISA bus, so for any +sensor related information, read document lm78. + diff --git a/etc/sensors.conf.eg b/etc/sensors.conf.eg index 5bf52c1a..fc98a8cc 100644 --- a/etc/sensors.conf.eg +++ b/etc/sensors.conf.eg @@ -130,7 +130,7 @@ #### Here begins the real configuration file -chip "lm78-*" "lm78-j-*" "lm79-*" "w83781d-*" +chip "lm78-*" "lm78-j-*" "lm79-*" "w83781d-*" "sis5595-*" # These are as advised in the LM78 and LM79 data sheets, and used on almost # any mainboard we have seen. diff --git a/kernel/chips/sis5595.c b/kernel/chips/sis5595.c index bb6e5146..7d4af93b 100644 --- a/kernel/chips/sis5595.c +++ b/kernel/chips/sis5595.c @@ -357,12 +357,12 @@ int lm78_detect_isa(struct isa_adapter *adapter) address, address + LM78_EXTENT); return err; } - +/* printk("sis5595.o: lm78 io base at 0x%4x\n", address); - +*/ type = lm78; - type_name = "SiS 5595 Sensor"; - client_name = "SiS 5595"; + type_name = "sis5595"; + client_name = "SiS 5595 Sensor"; request_region(address, LM78_EXTENT, type_name);