diff options
author | Ong Boon Leong <boon.leong.ong@intel.com> | 2022-06-15 16:39:07 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-06-17 10:55:35 +0100 |
commit | 72edaf39fc6511b9b30615027cdfafc6d330dd9c (patch) | |
tree | d2fff7b1f5ff168e347f8c9753d408d44b9b5ba4 /net/unix/af_unix.c | |
parent | b47aec885bcd672ebca2108a8b7e9ce3e3982775 (diff) |
stmmac: intel: add phy-mode and fixed-link ACPI _DSD setting support
Currently, phy_interface for TSN controller instance is set based on its
PCI Device ID. For SGMII PHY interface, phy_interface default to
PHY_INTERFACE_MODE_SGMII. As C37 AN supports both SGMII and 1000BASE-X
mode, we add support for 'phy-mode' ACPI _DSD for port-specific
and customer platform specific customization.
v3: use fwnode_get_phy_mode() as suggested by Andrew Lunn in
https://patchwork.kernel.org/comment/24895330/
v2:
For platform that sets 'fixed-link' using ACPI _DSD, we will unset
xpcs_an_inband within stmmac. Thanks to Russell King for his comment in
https://patchwork.kernel.org/comment/24890222/
v1:
Thanks to Andrew Lunn's guidance in
https://patchwork.kernel.org/comment/24827101/
Tested-by: Emilio Riva <emilio.riva@ericsson.com>
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions