Merge branch 'SFP-phylink-updates'
commit9b89f07f10a0ab328b8cd0a8c2caaada9c6b9439
authorDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 16:16:20 +0000 (5 11:16 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 16:16:20 +0000 (5 11:16 -0500)
tree8d995f393a21bc88144ca6fd40b443641a557c41
parentb0e9fe1ba7f8305dc1c640fbeb1b8c5c609e604c
parent8fa7b9b6af252cae46dc3466341873434316d34a
Merge branch 'SFP-phylink-updates'

Russell King says:

====================
SFP/phylink updates

This series, which follows on from the fixes posted earlier, improves
the phylink/sfp support.  Changes included here are:

- Merge 802.3z and SGMII modes into one "in-band" mode, using the
  PHY_INTERFACE_MODE_xxx definition to determine which should be used.
  This allows more flexibility as more interface modes become
  available.

- Allow 2500base-X and 10GBASE-KR to be requested from SFP.

- Remove unused and unnecessary phylink_init_eee()

- Restart 802.3z autonegotiation when starting the network device to
  ensure that the negotiated parameters are always correct.  It has
  been observed on mvneta that this is not always the case without
  this change.

- Add kerneldoc documentation for phylink and sfp upstream facing APIs
  and link it in to the networking documentation.

- Resolve a sparse warning in sfp-bus.c

- Convert phylink/sfp to use fwnode rather than DT so that other firmware
  systems can take advantage of this - I have received a request for it
  to be usable with ACPI.  The exception to this is our interactions with
  phylib, as phylib itself does not yet support fwnode.
====================

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