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);