Re: [PATCH net-next v2] net: wan: framer: Add version sysfs attribute for the Lantiq PEF2256 framer

From: Herve Codina

Date: Thu Sep 18 2025 - 11:45:31 EST


Hi Christophe,

On Wed, 17 Sep 2025 08:24:01 +0200
Christophe Leroy <christophe.leroy@xxxxxxxxxx> wrote:

> Lantiq PEF2256 framer has some little differences in behaviour
> depending on its version.
>
> Add a sysfs attribute to allow user applications to know the
> version.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxxxxxx>
> ---
> v2:
> - Make DEVICE_ATTR_RO(version) static
> - Split version_show() prototype into 2 lines to remain under 80 chars
>
> v1: https://lore.kernel.org/all/f9aaa89946f1417dc0a5e852702410453e816dbc.1757754689.git.christophe.leroy@xxxxxxxxxx/
> ---
> drivers/net/wan/framer/pef2256/pef2256.c | 24 +++++++++++++++++++-----
> 1 file changed, 19 insertions(+), 5 deletions(-)
>

This patch add a new entry in sysfs.

Can you provide the related documentation in /Documentation/ABI/testing/

Best regards,
Hervé