RFC PATCH libsensors: change vid for adm1025, adm1026 and adm9240

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Grant,

> Does this do the expected changes?, last attempt was back in
> http://archives.andrew.net.au/lm-sensors/msg30079.html
>
> I'm lost in libsensors :)

Not very surprising, as it's not exactly elegant code ;)

All OK except for:

>@@ -2683,7 +2683,7 @@ static sensors_chip_feature adm1026_feat
> 		ADM1026_SYSCTL_GPIO_MASK, VALUE(1), 0 },
>     { SENSORS_ADM1026_VID, "vid",
> 		NOMAP, NOMAP, RW,
>-		ADM1026_SYSCTL_VID, VALUE(1), 3 },
>+		ADM1026_SYSCTL_VID, VALUE(1), 3, "cpu0_vid" },
>     { SENSORS_ADM1026_VRM, "vrm",
> 		NOMAP, NOMAP, RW,
> 		ADM1026_SYSCTL_VRM, VALUE(1), 1 },

This one is not needed, as it will be properly handled by a "constant
mapping" in proc.c.

Thanks,
--
Jean Delvare



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux