[lm-sensors] [PATCH] hwmon: (abituguru3) Support multiple DMI strings per chip ID (#3)

Jean Delvare khali at linux-fr.org
Sun Sep 6 18:23:20 CEST 2009


On Sun,  6 Sep 2009 15:30:28 +0100, Alistair John Strachan wrote:
> Most known Abit motherboards have unique uguru chip IDs. However,
> some "refresh" boards keep the same chip ID but have a different
> DMI string. As our DMI board string matching is (necessarily)
> strict, some boards were failing DMI detection, and as the old
> probe method was also failing, the driver would not load.
> 
> The only known boards affected by this problem are the IP35 Pro XE
> (vs IP35 Pro) and the AB9 Pro (vs AB9). Is it not sufficient to
> relax the match criteria, as some boards (e.g. the AB9 Quad GT)
> have different uguru chip IDs.
> 
> This patch replaces the dmi_name string with a NULL terminated
> array of strings to be matched per uguru chip ID. It has been
> compile and runtime tested (thanks Rune).
> 
> References: https://bugs.launchpad.net/bugs/298798
> 
> Signed-off-by: Alistair John Strachan <alistair at devzero.co.uk>
> Tested-by: Rune Svendsen <runesvend at gmail.com>
> Cc: Rune Svendsen <runesvend at gmail.com>
> Cc: Hans de Goede <hdegoede at redhat.com>
> Cc: lm-sensors at lm-sensors.org
> 
> ---
>  drivers/hwmon/abituguru3.c |   77 +++++++++++++++++++++++---------------------
>  1 files changed, 40 insertions(+), 37 deletions(-)

Applied, thanks.

-- 
Jean Delvare




More information about the lm-sensors mailing list