diff mbox series

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

Message ID 20210309211244.22684-5-bjorn@mork.no
State Superseded
Headers show
Series realtek: SFP related fixes | expand

Commit Message

Bjørn Mork March 9, 2021, 9:12 p.m. UTC
Signed-off-by: Bjørn Mork <bjorn@mork.no>
---
 target/linux/realtek/config-5.4 | 1 +
 1 file changed, 1 insertion(+)

Comments

Birger Koblitz March 10, 2021, 7:18 p.m. UTC | #1
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@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
Adrian Schmutzler March 12, 2021, 8:51 p.m. UTC | #2
Hi,

> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces@lists.openwrt.org]
> On Behalf Of Birger Koblitz
> Sent: Mittwoch, 10. März 2021 20:18
> To: openwrt-devel@lists.openwrt.org
> Subject: Re: [PATCH 4/6] realtek: enable HWMON for SFP sensors
> 
> Tested and is necessary to e.g. read out temperatures from an SFP module.

So this fact would make a good commit message then?

Best

Adrian

> Please merge,
>    Birger
> 
> On 09/03/2021 22:12, Bjørn Mork wrote:
> > Signed-off-by: Bjørn Mork <bjorn@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
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
diff mbox series

Patch

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