Thread (5 messages) 5 messages, 2 authors, 2020-05-01
STALE2235d
Revisions (6)
  1. v2 [diff vs current]
  2. v3 [diff vs current]
  3. v4 current
  4. v4 [diff vs current]
  5. v4 [diff vs current]
  6. v6 [diff vs current]

[PATCH net-next v4 0/2] provide support for PHY master/slave configuration

From: Oleksij Rempel <o.rempel@pengutronix.de>
Date: 2020-05-01 07:46:53
Also in: lkml

changes v3:
- rename port_mode to master_slave 
- move validation code to net/ethtool/linkmodes.c 
- add UNSUPPORTED state and avoid sending unsupported fields
- more formatting and naming fixes
- tja11xx: support only force mode
- tja11xx: mark state as unsupported

changes v3:
- provide separate field for config and state.
- make state rejected on set
- add validation

changes v2:
- change names. Use MASTER_PREFERRED instead of MULTIPORT
- configure master/slave only on request. Default configuration can be
  provided by PHY or eeprom
- status and configuration to the user space.

Oleksij Rempel (2):
  ethtool: provide UAPI for PHY master/slave configuration.
  net: phy: tja11xx: add support for master-slave configuration

 Documentation/networking/ethtool-netlink.rst | 35 ++++----
 drivers/net/phy/nxp-tja11xx.c                | 47 +++++++++-
 drivers/net/phy/phy.c                        |  4 +-
 drivers/net/phy/phy_device.c                 | 95 ++++++++++++++++++++
 include/linux/phy.h                          |  3 +
 include/uapi/linux/ethtool.h                 | 16 +++-
 include/uapi/linux/ethtool_netlink.h         |  2 +
 include/uapi/linux/mii.h                     |  2 +
 net/ethtool/linkmodes.c                      | 48 ++++++++++
 9 files changed, 233 insertions(+), 19 deletions(-)

-- 
2.26.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help