aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-07-11 19:45:11 +0200
committerDavid S. Miller <davem@davemloft.net>2018-07-13 18:25:14 -0700
commit6eb9c9dafd02b6a0236074e3ee7acee9e2271308 (patch)
tree10a337487910709daaf09ceef4dd863dcbb350a2 /net/ipv4/tcp_input.c
parentnet: sched: refactor flower walk to iterate over idr (diff)
downloadlinux-dev-6eb9c9dafd02b6a0236074e3ee7acee9e2271308.tar.xz
linux-dev-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 <andrew@lunn.ch> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions