Re: [PATCH RFC net-next 3/3] net: dsa: add basic initial driver for MxL862xx switches
From: Russell King (Oracle)
Date: Wed Dec 03 2025 - 20:00:23 EST
On Tue, Dec 02, 2025 at 11:38:05PM +0000, Daniel Golle wrote:
> +/* Phylink integration */
> +static void mxl862xx_phylink_get_caps(struct dsa_switch *ds, int port,
> + struct phylink_config *config)
> +{
> + struct mxl862xx_priv *priv = ds->priv;
> +
> + config->mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE | MAC_10 |
> + MAC_100 | MAC_1000 | MAC_2500FD;
> +
> + if (port < priv->hw_info->phy_ports)
> + __set_bit(PHY_INTERFACE_MODE_INTERNAL,
> + config->supported_interfaces);
> + else
> + __set_bit(PHY_INTERFACE_MODE_NA,
> + config->supported_interfaces);
What's the purpose of PHY_INTERFACE_MODE_NA here?
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!