Searched hist:bf4edf4afb87e67bed8678c09a01110148830483 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105.h | diff bf4edf4afb87e67bed8678c09a01110148830483 Sun May 30 17:59:35 CDT 2021 Vladimir Oltean <vladimir.oltean@nxp.com> net: dsa: sja1105: cache the phy-mode port property
So far we've succeeded in operating without keeping a copy of the phy-mode in the driver, since we already have the static config and we can look at the xMII Mode Parameters Table which already holds that information.
But with the SJA1110, we cannot make the distinction between sgmii and 2500base-x, because to the hardware's static config, it's all SGMII. So add a phy_mode property per port inside struct sja1105_private.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
H A D | sja1105_main.c | diff bf4edf4afb87e67bed8678c09a01110148830483 Sun May 30 17:59:35 CDT 2021 Vladimir Oltean <vladimir.oltean@nxp.com> net: dsa: sja1105: cache the phy-mode port property
So far we've succeeded in operating without keeping a copy of the phy-mode in the driver, since we already have the static config and we can look at the xMII Mode Parameters Table which already holds that information.
But with the SJA1110, we cannot make the distinction between sgmii and 2500base-x, because to the hardware's static config, it's all SGMII. So add a phy_mode property per port inside struct sja1105_private.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|