[PATCH] hwmon: Fix for first generation Abit uGuru chips
commit9b2ad1298232a4016a407261bd6811294b09ba97
authorHans de Goede <j.w.r.degoede@hhs.nl>
Wed, 5 Jul 2006 16:07:49 +0000 (5 18:07 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 Jul 2006 22:43:07 +0000 (12 15:43 -0700)
tree0a07029f59ba3d79e6e8e87a4a43e6016ac80a35
parent1392707977de9e0df18123d56c3148cb0b1c6ab5
[PATCH] hwmon: Fix for first generation Abit uGuru chips

Now that the abituguru driver is seeing some more widespread testing
it has turned out that one the first generation of Abit uGuru
motherboards, with uGuru revision 1, the autodetect bank1 sensor type
code doesn't (always) work. This patch adds a module param to override
the autodetect, and it adds validity checks for the value of the 2
other autodetection override module params. An example of howto use
the new param can be found here:
http://lm-sensors.org/wiki/Configurations/Abit/AN7

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/abituguru.c