OSDN Git Service

Merge branch 'phylink-sfp-updates'
authorDavid S. Miller <davem@davemloft.net>
Fri, 31 May 2019 19:37:46 +0000 (12:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 May 2019 19:37:46 +0000 (12:37 -0700)
commit6912378d54a593dc8469f0ee18135ea62de48c50
tree4e946042fe296e3fb3213adb5a59e901fe2eb860
parentb4b12b0d2f02613101a7a667ef7b7cc8d388e597
parent54f70b3ba364f19291dc8b9cb096b02a00fb4461
Merge branch 'phylink-sfp-updates'

Russell King says:

====================
phylink/sfp updates

This is a series of updates to phylink and sfp:

- Remove an unused net device argument from the phylink MII ioctl
  emulation code.

- add support for using interrupts when using a GPIO for link status
  tracking, rather than polling it at one second intervals.  This
  reduces the need to wakeup the CPU every second.

- add support to the MII ioctl API to read and write Clause 45 PHY
  registers.  I don't know how desirable this is for mainline, but I
  have used this facility extensively to investigate the Marvell
  88x3310 PHY.  A recent illustration of use for this was debugging
  the PHY-without-firmware problem recently reported.

- add mandatory attach/detach methods for the upstream side of sfp
  bus code, which will allow us to remove the "netdev" structure from
  the SFP layers.

- remove the "netdev" structure from the SFP upstream registration
  calls, which simplifies PHY to SFP links.
====================

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