]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'phylink-dsa-prep'
authorDavid S. Miller <davem@davemloft.net>
Wed, 13 Dec 2017 20:55:02 +0000 (15:55 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Dec 2017 20:55:02 +0000 (15:55 -0500)
commite37402bdc0917724f956cbf31931f2998f7931cd
tree75716a3ae3b78d78cd8f0c1ddd0c5218e6b98881
parent31fb94dde0ffc9a025d0fdbb44fd0d84f1c47fdc
parenta159168a7c7d6f735f88155c815ec8d6dff39f61
Merge branch 'phylink-dsa-prep'

Florian Fainelli says:

====================
PHYLINK preparatory patches for DSA

In preparation for having DSA migrate to PHYLINK, I had to come up with a
number of preparatory patches:

- we need to be able to pass phy_flags from an external component calling
  phylink_of_phy_connect()
- DSA tries to connect through OF first, then fallsback using its own internal
  MDIO bus, in that case we would both show an error, but also not know what
  the correct phy_interface_t would be, instead use the PHY device/driver provided
  one
- Finally bcm_sf2 makes use of all possible PHYs out there: internal, external,
  fixed, and MoCA, the latter requires a bit of help to signal link notifications
  through a MMIO interrupt, as well a report a correct PORT type

Changes in v2:

- rebased against latest net-next/master
- added kernel doc documentation
- dropped error message in phylink_of_phy_connect() as suggested by Russell
====================

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