WSL2-Linux-Kernel/drivers/hwmon
Alistair John Strachan bbe5939ab1 hwmon: (abituguru3) Support multiple DMI strings per chip ID
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@devzero.co.uk>
Tested-by: Rune Svendsen <runesvend@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2009-09-15 17:18:10 +02:00
..
ams hwmon: (ams) Simplify IRQ handling routine 2008-10-17 17:51:13 +02:00
Kconfig ARM: HWMON: S3C24XX series ADC driver 2009-07-18 10:15:54 +01:00
Makefile ARM: HWMON: S3C24XX series ADC driver 2009-07-18 10:15:54 +01:00
abituguru.c Merge branch 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6 2007-10-14 12:50:19 -07:00
abituguru3.c hwmon: (abituguru3) Support multiple DMI strings per chip ID 2009-09-15 17:18:10 +02:00
ad7414.c hwmon: (ad7414) Make ad7414_update_device() static 2008-09-20 10:25:20 +02:00
ad7418.c hwmon: (ad7418) Convert to a new-style i2c driver 2008-07-16 19:30:08 +02:00
adcxx.c hwmon: ADC124S501 generic driver 2008-08-15 08:35:43 -07:00
adm1021.c hwmon: (adm1021) Convert to a new-style i2c driver 2008-07-16 19:30:08 +02:00
adm1025.c hwmon: (adm1025) Convert to a new-style i2c driver 2008-07-16 19:30:08 +02:00
adm1026.c hwmon: (adm1026) Prevent log spamming 2008-10-17 17:51:20 +02:00
adm1029.c hwmon: (adm1029) Use mask for fan_div value 2008-10-17 17:51:20 +02:00
adm1031.c hwmon: (adm1031) Convert to a new-style i2c driver 2008-07-16 19:30:09 +02:00
adm9240.c hwmon: (adm9240) Convert to a new-style i2c driver 2008-07-16 19:30:09 +02:00
ads7828.c hwmon: (ads7828) Convert to a new-style i2c driver 2008-07-16 19:30:10 +02:00
adt7462.c adt74{62, 70, 73}: Use DIV_ROUND_CLOSEST for rounded division 2009-01-06 15:59:18 -08:00
adt7470.c adt7470: make automatic fan control really work 2009-01-06 15:59:18 -08:00
adt7473.c adt74{62, 70, 73}: Use DIV_ROUND_CLOSEST for rounded division 2009-01-06 15:59:18 -08:00
adt7475.c hwmon: Add a driver for the ADT7475 hardware monitoring chip 2009-01-15 22:27:47 +01:00
applesmc.c hwmon: applesmc: add support for MacPro 3 temperature sensors 2009-01-29 18:04:45 -08:00
asb100.c hwmon: Don't overuse I2C_CLIENT_MODULE_PARM 2009-01-07 16:37:32 +01:00
asus_atk0110.c hwmon: (asus_atk0110) Fix upper limit readings 2009-07-28 16:31:39 +02:00
atxp1.c hwmon: (atxp1) Fix device detection logic 2008-09-20 10:25:19 +02:00
coretemp.c coretemp: recognize Nehalem CPUs 2008-08-15 08:35:44 -07:00
dme1737.c hwmon: Check for ACPI resource conflicts 2009-01-07 16:37:35 +01:00
ds1621.c hwmon: (ds1621) Avoid unneeded register access 2009-03-30 21:46:40 +02:00
f71805f.c hwmon: Check for ACPI resource conflicts 2009-01-07 16:37:35 +01:00
f71882fg.c hwmon: (f71882fg) Add support for the F71858F 2009-06-15 18:39:52 +02:00
f75375s.c trivial: Update my email address 2009-03-30 15:22:04 +02:00
fscher.c hwmon: (fscher) Convert to a new-style i2c driver 2008-07-16 19:30:12 +02:00
fschmd.c hwmon: (fschmd) Add support for the FSC Hades IC 2009-03-30 21:46:45 +02:00
fscpos.c hwmon: (fscpos) Convert to a new-style i2c driver 2008-07-16 19:30:12 +02:00
g760a.c hwmon: add support for GMT G760A fan speed PWM controller 2009-04-07 08:31:03 -07:00
gl518sm.c hwmon: (gl518sm) Convert to a new-style i2c driver 2008-07-16 19:30:13 +02:00
gl520sm.c hwmon: (gl520sm) Convert to a new-style i2c driver 2008-07-16 19:30:13 +02:00
hdaps.c hwmon: (hdaps) Fix Thinkpad X41 axis inversion 2009-03-30 21:46:42 +02:00
hp_accel.c lis3: add three new laptop models 2009-06-16 19:47:57 -07:00
hwmon-vid.c hwmon-vid: Add support for AMD family 10h CPUs 2008-10-26 17:04:39 +01:00
hwmon.c hwmon: PCI quirk for hwmon access on MSI MS-7031 board 2009-06-15 18:39:50 +02:00
i5k_amb.c hwmon: (i5k_amb) Load automatically on all 5000/5400 chipsets 2009-01-07 16:37:33 +01:00
ibmaem.c hwmon: (ibmaem) Automatically load on HC10 blade 2009-06-15 18:39:46 +02:00
ibmpex.c ibmpex: add endian annotation to extract_data() helper 2009-01-06 15:59:18 -08:00
it87.c hwmon: (it87) Properly decode -128 degrees C temperature 2009-03-12 13:36:39 +01:00
k8temp.c hwmon: (k8temp) Fix temperature reporting for (most) K8 RevG CPUs 2009-01-15 22:27:47 +01:00
lis3lv02d.c lis3: add click function 2009-06-16 19:47:57 -07:00
lis3lv02d.h lis3: add click function 2009-06-16 19:47:57 -07:00
lis3lv02d_spi.c lis3: add click function 2009-06-16 19:47:57 -07:00
lm63.c hwmon: (lm63) Convert to a new-style i2c driver 2008-07-16 19:30:13 +02:00
lm70.c hwmon: (lm70) Add TI TMP121 support 2009-01-07 16:37:34 +01:00
lm75.c hwmon: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:41 -08:00
lm75.h hwmon: Allow writing of negative trigger temperatures 2007-10-09 22:56:29 -04:00
lm77.c hwmon: (lm77) Convert to a new-style i2c driver 2008-07-16 19:30:13 +02:00
lm78.c hwmon: (lm78) Add missing __devexit_p() 2009-06-01 13:46:49 +02:00
lm80.c hwmon: (lm80) Convert to a new-style i2c driver 2008-07-16 19:30:14 +02:00
lm83.c hwmon: (lm83) Convert to a new-style i2c driver 2008-07-16 19:30:14 +02:00
lm85.c lm85: add VRM10 support for adt7468 chip 2009-03-10 15:55:10 -07:00
lm87.c hwmon: (lm87) Add support for configuration through platform_data 2008-10-17 17:51:12 +02:00
lm90.c hwmon: (lm90) Document support for the MAX6648/6692 chips 2009-03-12 13:36:38 +01:00
lm92.c hwmon: (lm92) Convert to a new-style i2c driver 2008-07-16 19:30:15 +02:00
lm93.c hwmon: (lm93) Convert to a new-style i2c driver 2008-07-16 19:30:15 +02:00
lm95241.c hwmon: (lm95241) Convert to new-style i2c driver 2009-04-07 15:32:59 +02:00
ltc4215.c hwmon: Add LTC4215 driver 2009-04-01 08:59:21 -07:00
ltc4245.c hwmon: Add LTC4245 driver 2009-01-07 16:37:32 +01:00
max1111.c hwmon: add max1111_read_channel() for use by sharpsl_pm 2008-09-23 22:04:32 +01:00
max1619.c hwmon: (max1619) Use inline functions instead of macros 2008-10-17 17:51:16 +02:00
max6650.c hwmon: (max6650) Fix lock imbalance 2009-07-11 13:42:37 +02:00
pc87360.c hwmon: Check for ACPI resource conflicts 2009-01-07 16:37:35 +01:00
pc87427.c hwmon: Check for ACPI resource conflicts 2009-01-07 16:37:35 +01:00
pcf8591.c Move the pcf8591 driver to hwmon 2009-03-30 21:46:43 +02:00
s3c-hwmon.c ARM: HWMON: S3C24XX series ADC driver 2009-07-18 10:15:54 +01:00
sht15.c hwmon: (sht15) Remove unnecessary semicolon 2009-07-11 13:42:37 +02:00
sis5595.c hwmon: Check for ACPI resource conflicts 2009-01-07 16:37:35 +01:00
smsc47b397.c hwmon: Check for ACPI resource conflicts 2009-01-07 16:37:35 +01:00
smsc47m1.c hwmon: (smsc47m1) Differentiate between LPC47M233 and LPC47M292 2009-07-28 16:31:39 +02:00
smsc47m192.c hwmon: (smsc47m192) Convert to a new-style i2c driver 2008-07-16 19:30:16 +02:00
thmc50.c hwmon: (thmc50) Add support for critical temperature limits 2008-08-06 22:41:05 +02:00
tmp401.c hwmon: (tmp401) Add support for TI's TMP411 sensors chip 2009-06-15 18:39:47 +02:00
ultra45_env.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
via686a.c hwmon: Check for ACPI resource conflicts 2009-01-07 16:37:35 +01:00
vt1211.c hwmon: Fix ACPI resource check error handling 2009-02-17 19:59:54 +01:00
vt8231.c hwmon: Check for ACPI resource conflicts 2009-01-07 16:37:35 +01:00
w83l785ts.c hwmon: (w83l785ts) Convert to a new-style i2c driver 2008-07-16 19:30:18 +02:00
w83l786ng.c hwmon: (w83l786ng) Convert to a new-style i2c driver 2008-07-16 19:30:18 +02:00
w83627ehf.c hwmon: (w83627ehf) Add W83627DHG-P support 2009-06-15 18:39:50 +02:00
w83627hf.c hwmon: Check for ACPI resource conflicts 2009-01-07 16:37:35 +01:00
w83781d.c hwmon: (w83781d) Fix W83782D support (NULL pointer dereference) 2009-05-08 20:27:28 +02:00
w83791d.c hwmon: Don't overuse I2C_CLIENT_MODULE_PARM 2009-01-07 16:37:32 +01:00
w83792d.c hwmon: Don't overuse I2C_CLIENT_MODULE_PARM 2009-01-07 16:37:32 +01:00
w83793.c hwmon: Don't overuse I2C_CLIENT_MODULE_PARM 2009-01-07 16:37:32 +01:00