[PATCH RFC net-next v2 2/3] net: dsa: microchip: Add SGMII port support to KSZ9477 switch

Tristram.Ha@microchip.com posted 3 patches 1 year ago
There is a newer version of this series
[PATCH RFC net-next v2 2/3] net: dsa: microchip: Add SGMII port support to KSZ9477 switch
Posted by Tristram.Ha@microchip.com 1 year ago
From: Tristram Ha <tristram.ha@microchip.com>

The KSZ9477 DSA driver uses XPCS driver to operate its SGMII port.

Signed-off-by: Tristram Ha <tristram.ha@microchip.com>
---
v2
 - update Kconfig to pass compilation test

 drivers/net/dsa/microchip/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/dsa/microchip/Kconfig b/drivers/net/dsa/microchip/Kconfig
index 12a86585a77f..c71d3fd5dfeb 100644
--- a/drivers/net/dsa/microchip/Kconfig
+++ b/drivers/net/dsa/microchip/Kconfig
@@ -6,6 +6,7 @@ menuconfig NET_DSA_MICROCHIP_KSZ_COMMON
 	select NET_DSA_TAG_NONE
 	select NET_IEEE8021Q_HELPERS
 	select DCB
+	select PCS_XPCS
 	help
 	  This driver adds support for Microchip KSZ8, KSZ9 and
 	  LAN937X series switch chips, being KSZ8863/8873,
-- 
2.34.1
Re: [PATCH RFC net-next v2 2/3] net: dsa: microchip: Add SGMII port support to KSZ9477 switch
Posted by Vladimir Oltean 1 year ago
On Thu, Feb 06, 2025 at 06:43:15PM -0800, Tristram.Ha@microchip.com wrote:
> From: Tristram Ha <tristram.ha@microchip.com>
> 
> The KSZ9477 DSA driver uses XPCS driver to operate its SGMII port.
> 
> Signed-off-by: Tristram Ha <tristram.ha@microchip.com>
> ---
> v2
>  - update Kconfig to pass compilation test
> 
>  drivers/net/dsa/microchip/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/dsa/microchip/Kconfig b/drivers/net/dsa/microchip/Kconfig
> index 12a86585a77f..c71d3fd5dfeb 100644
> --- a/drivers/net/dsa/microchip/Kconfig
> +++ b/drivers/net/dsa/microchip/Kconfig
> @@ -6,6 +6,7 @@ menuconfig NET_DSA_MICROCHIP_KSZ_COMMON
>  	select NET_DSA_TAG_NONE
>  	select NET_IEEE8021Q_HELPERS
>  	select DCB
> +	select PCS_XPCS
>  	help
>  	  This driver adds support for Microchip KSZ8, KSZ9 and
>  	  LAN937X series switch chips, being KSZ8863/8873,
> -- 
> 2.34.1
> 

I'm not sure if you split this change intentionally or by mistake, but
either way, you need to squash this patch into 3/3.