[PATCH 4/6] realtek: enable HWMON for SFP sensors

Birger Koblitz mail at birger-koblitz.de
Wed Mar 10 19:18:07 GMT 2021


Tested and is necessary to e.g. read out temperatures from an SFP module.
Please merge,
   Birger

On 09/03/2021 22:12, Bjørn Mork wrote:
> Signed-off-by: Bjørn Mork <bjorn at mork.no>
> ---
>   target/linux/realtek/config-5.4 | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/target/linux/realtek/config-5.4 b/target/linux/realtek/config-5.4
> index 2fbd904376fc..ed8c6023377f 100644
> --- a/target/linux/realtek/config-5.4
> +++ b/target/linux/realtek/config-5.4
> @@ -82,6 +82,7 @@ CONFIG_HAS_DMA=y
>   CONFIG_HAS_IOMEM=y
>   CONFIG_HAS_IOPORT_MAP=y
>   # CONFIG_HIGH_RES_TIMERS is not set
> +CONFIG_HWMON=y
>   CONFIG_HZ=250
>   CONFIG_HZ_250=y
>   CONFIG_HZ_PERIODIC=y




More information about the openwrt-devel mailing list