]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
Merge branch 'mvpp2-optional-PHYs-and-GoP-link-irq'
authorDavid S. Miller <davem@davemloft.net>
Fri, 1 Sep 2017 17:08:44 +0000 (10:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Sep 2017 17:08:44 +0000 (10:08 -0700)
commitc5b2cef3b64bfd9f206a0bb99ccd24c784aa2062
tree7112b100867a230a5699acfcd9cb7dc83c179c2e
parent0d22a3cf8da164dfc694cc159eabd355f14aba7e
parentdb40b4d1478c86bf8b1b41a4a5b5d10b0da39f0c
Merge branch 'mvpp2-optional-PHYs-and-GoP-link-irq'

Antoine Tenart says:

====================
net: mvpp2: optional PHYs and GoP link irq

This series aims at making the driver work when no PHY is connected
between a port and the physical layer and not described as a fixed-phy.
This is useful for some usecases such as when a switch is connected
directly to the serdes lanes. It can also be used for SFP ports on the
7k-db and 8k-db while waiting for the phylink support to land in (which
should be part of another series).

This series makes the phy optional in the PPv2 driver, and then adds
the support for the GoP port link interrupt to handle link status
changes on such ports.

This was tested using the SFP ports on the 7k-db and 8k-db boards.

Since v1:
  - Now use phy_interface_mode_is_rgmii() in the GoP link patch.
  - Added one cosmetic patch to take advantage of phy_interface_mode_is_rgmii()
    in the whole PPv2 driver.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>