3cad402281
Note that this patch also makes 2 changes to the code paths for the f71889fg to keep the code unified between the 2 (for simplicities sake). Both of these are harmless for then f71889fg: 1) The first change is to always set the FAN_PROG_SEL bit to 0. This influences accesses to some banked fan / pwm registers. On the f71889fg no registers which we use are banked. On the f71889ed however some more fan registers have been banked including one which we use, by making the FAN_PROG_SEL bit 0, address 0x96 will point to the right register. 2) The second change is to see a FANx_TEMP_SEL value of 0 as pointing to a PECI / AMDSI value, and thus disable our pwm related sysfs attr. This is correct for the f71889ed and on the f71889fg 0 is a reserved value, so we should never see it and if we do, disabling the pwm related sysfs attr is a sane thing to do. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Tested-by: Thomas Greve <tg42@gmx.net> Tested-by: Sander Eikelenboom <linux@eikelenboom.it> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> |
||
---|---|---|
.. | ||
abituguru | ||
abituguru3 | ||
abituguru-datasheet | ||
acpi_power_meter | ||
adm1021 | ||
adm1025 | ||
adm1026 | ||
adm1031 | ||
adm9240 | ||
ads7828 | ||
adt7411 | ||
adt7462 | ||
adt7470 | ||
adt7475 | ||
amc6821 | ||
asb100 | ||
asc7621 | ||
coretemp | ||
dme1737 | ||
ds620 | ||
ds1621 | ||
emc2103 | ||
f71805f | ||
f71882fg | ||
g760a | ||
gl518sm | ||
hpfall.c | ||
ibmaem | ||
it87 | ||
jc42 | ||
k8temp | ||
k10temp | ||
lineage-pem | ||
lis3lv02d | ||
lm63 | ||
lm70 | ||
lm75 | ||
lm77 | ||
lm78 | ||
lm80 | ||
lm83 | ||
lm85 | ||
lm87 | ||
lm90 | ||
lm92 | ||
lm93 | ||
ltc4151 | ||
ltc4215 | ||
ltc4245 | ||
ltc4261 | ||
max1619 | ||
max6639 | ||
max6650 | ||
mc13783-adc | ||
pc87360 | ||
pc87427 | ||
pcf8591 | ||
pkgtemp | ||
pmbus | ||
sht21 | ||
sis5595 | ||
smm665 | ||
smsc47b397 | ||
smsc47m1 | ||
smsc47m192 | ||
sysfs-interface | ||
thmc50 | ||
tmp102 | ||
tmp401 | ||
tmp421 | ||
userspace-tools | ||
via686a | ||
vt1211 | ||
w83l785ts | ||
w83l786ng | ||
w83627ehf | ||
w83627hf | ||
w83781d | ||
w83791d | ||
w83792d | ||
w83793 | ||
wm831x | ||
wm8350 |