Home
last modified time | relevance | path

Searched hist:d194923d (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.cd194923d Wed Jan 26 04:26:05 CST 2022 Russell King (Oracle) <rmk+kernel@armlinux.org.uk> net: stmmac: fill in supported_interfaces

Fill in phylink's supported_interfaces bitmap with the PHY interface
modes which can be used to talk to the PHY.

We indicate that the PHY interface mode passed in platform data is
always supported, as this is the initial mode passed into phylink.
When there is no PCS specified, we assume that this is the only mode
that is supported - indeed, the driver appears not to support dynamic
switching of interface types at present.

When a xpcs is present, it defines the PHY interface modes that the
stmmac driver can support. Request the supported interfaces from the
xpcs driver, and pass them to phylink.

Tested-by: Wong Vee Khee <vee.khee.wong@linux.intel.com> # Intel EHL Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>