]> 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)
commit0f3712f70f7a2937eade940061b8cc3b6fcfc17d
tree7112b100867a230a5699acfcd9cb7dc83c179c2e
parent77f8012ae375c3567b54b3632fe93a359a1206ac
parent4dc9e7fea31ccd73a6aa5fed3ddbe86c3887a2d2
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>