]> git.baikalelectronics.ru Git - kernel.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)
commit08cd3f32979e790454764d4402333e514f196659
tree7112b100867a230a5699acfcd9cb7dc83c179c2e
parent9a1c103e796b58fa7408add559b67d4383e28167
parent53fcb56726de6f6f5d89e37e9d92ed1b507fcac6
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>