diff options
| author | Linus Walleij <[email protected]> | 2018-07-11 17:45:11 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-07-14 01:25:14 +0000 |
| commit | 6eb9c9dafd02b6a0236074e3ee7acee9e2271308 (patch) | |
| tree | 10a337487910709daaf09ceef4dd863dcbb350a2 /net/ipv4/tcp_input.c | |
| parent | net: sched: refactor flower walk to iterate over idr (diff) | |
| download | kernel-6eb9c9dafd02b6a0236074e3ee7acee9e2271308.tar.gz kernel-6eb9c9dafd02b6a0236074e3ee7acee9e2271308.zip | |
of: mdio: Support fixed links in of_phy_get_and_connect()
By a simple extension of of_phy_get_and_connect() drivers
that have a fixed link on e.g. RGMII can support also
fixed links, so in addition to:
ethernet-port {
phy-mode = "rgmii";
phy-handle = <&foo>;
};
This setup with a fixed-link node and no phy-handle will
now also work just fine:
ethernet-port {
phy-mode = "rgmii";
fixed-link {
speed = <1000>;
full-duplex;
pause;
};
};
This is very helpful for connecting random ethernet ports
to e.g. DSA switches that typically reside on fixed links.
The phy-mode is still there as the fixes link in this case
is still an RGMII link.
Tested on the Cortina Gemini driver with the Vitesse DSA
router chip on a fixed 1Gbit link.
Suggested-by: Andrew Lunn <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
