From: Nicolai Buchwitz <nb@tipi-net.de>
To: Sebastien Royen <sebastien.royen@armadeus.com>
Cc: Woojung Huh <woojung.huh@microchip.com>, netdev@vger.kernel.org
Subject: Re: [PATCH net v2] net: dsa: microchip: fix KSZ8765 fiber detection
Date: Wed, 07 Oct 2026 10:14:33 +0200 [thread overview]
Message-ID: <61a356fb9601b9ab7a8e67a07d4ad2b2@tipi-net.de> (raw)
In-Reply-To: <20261007080557.15719-1-sebastien.royen@armadeus.com>
Hi Sébastien
On 7.10.2026 10:05, Sebastien Royen wrote:
> The KSZ8765 is similar to the KSZ8795 but has two fiber ports.
>
> KSZ8_PORT_STATUS_0 is used to detect fiber mode. It is currently
> defined as 0x08, which is the Global Control 6 MIB Control register
> and has bit 7 defined as Flush Counter.
>
> Set KSZ8_PORT_STATUS_0 to 0x18, which is the Port 1 Status 0 register
> where bit 7 is the Fiber Mode bit.
>
> Fixes: 91a98917a883 ("net: dsa: microchip: move switch chip_id
> detection to ksz_common")
> Reviewed-by: Nicolai Buchwitz <nb@tipi-net.de>
> Signed-off-by: Sebastien Royen <sebastien.royen@armadeus.com>
> ---
> drivers/net/dsa/microchip/ksz_common.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/dsa/microchip/ksz_common.h
> b/drivers/net/dsa/microchip/ksz_common.h
> index cbe98494578c..f6104f714a8d 100644
> --- a/drivers/net/dsa/microchip/ksz_common.h
> +++ b/drivers/net/dsa/microchip/ksz_common.h
> @@ -853,7 +853,7 @@ static inline bool ksz_is_sgmii_port(struct
> ksz_device *dev, int port)
> #define KSZ88_FAMILY_ID 0x88
> #define KSZ8895_FAMILY_ID 0x95
>
> -#define KSZ8_PORT_STATUS_0 0x08
> +#define KSZ8_PORT_STATUS_0 0x18
> #define KSZ8_PORT_FIBER_MODE BIT(7)
>
> #define SW_CHIP_ID_M GENMASK(7, 4)
Please do not send new versions in response to the earlier version, but
send it
like you would send a new patch (with the usual v2 ... prefix).
For more details please have a look at the netdev contribution docs [1]
[1]
https://docs.kernel.org/process/maintainer-netdev.html#resending-after-review
Thanks,
Nicolai
next prev parent reply other threads:[~2026-10-07 8:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-06 13:00 [PATCH net] net: dsa: microchip: fix KSZ8765 fiber detection Sebastien Royen
2026-10-06 14:20 ` netdev-bot+sinfo
2026-10-06 14:48 ` Sébastien Royen
2026-10-06 16:16 ` Andrew Lunn
2026-10-06 16:21 ` Nicolai Buchwitz
2026-10-06 18:24 ` Andrew Lunn
2026-10-06 21:28 ` Nicolai Buchwitz
2026-10-07 8:05 ` [PATCH net v2] " Sebastien Royen
2026-10-07 8:14 ` Nicolai Buchwitz [this message]
2026-10-07 14:10 ` netdev-bot+sinfo
2026-10-08 17:50 ` patchwork-bot+netdevbpf
2026-10-11 14:19 ` netdev-bot+sashiko
2026-10-07 14:18 ` [PATCH net] " netdev-bot+sashiko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=61a356fb9601b9ab7a8e67a07d4ad2b2@tipi-net.de \
--to=nb@tipi-net.de \
--cc=netdev@vger.kernel.org \
--cc=sebastien.royen@armadeus.com \
--cc=woojung.huh@microchip.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.