* [PATCH net-next v4 0/2] provide support for PHY master/slave configuration
@ 2020-05-04 4:33 Oleksij Rempel
2020-05-04 4:41 ` Oleksij Rempel
0 siblings, 1 reply; 4+ messages in thread
From: Oleksij Rempel @ 2020-05-04 4:33 UTC (permalink / raw)
To: Andrew Lunn, David S. Miller, Florian Fainelli, Heiner Kallweit,
Jakub Kicinski, Jonathan Corbet, Michal Kubecek
Cc: Oleksij Rempel, David Jander, kernel, linux-kernel, netdev,
Russell King, mkl, Marek Vasut, Christian Herber
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next v4 0/2] provide support for PHY master/slave configuration
2020-05-04 4:33 [PATCH net-next v4 0/2] provide support for PHY master/slave configuration Oleksij Rempel
@ 2020-05-04 4:41 ` Oleksij Rempel
0 siblings, 0 replies; 4+ messages in thread
From: Oleksij Rempel @ 2020-05-04 4:41 UTC (permalink / raw)
To: Andrew Lunn, David S. Miller, Florian Fainelli, Heiner Kallweit,
Jakub Kicinski, Jonathan Corbet, Michal Kubecek
Cc: David Jander, kernel, linux-kernel, netdev, Russell King, mkl,
Marek Vasut, Christian Herber
[-- Attachment #1: Type: text/plain, Size: 1861 bytes --]
please ignore it, i send it by accident.
On Mon, May 04, 2020 at 06:33:18AM +0200, Oleksij Rempel wrote:
> 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
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH net-next v4 0/2] provide support for PHY master/slave configuration
@ 2020-05-04 7:12 Oleksij Rempel
0 siblings, 0 replies; 4+ messages in thread
From: Oleksij Rempel @ 2020-05-04 7:12 UTC (permalink / raw)
To: Andrew Lunn, David S. Miller, Florian Fainelli, Heiner Kallweit,
Jakub Kicinski, Jonathan Corbet, Michal Kubecek
Cc: Oleksij Rempel, David Jander, kernel, linux-kernel, netdev,
Russell King, mkl, Marek Vasut, Christian Herber
changes v5:
- set MASTER_SLAVE_CFG_UNSUPPORTED as default value
- send a netlink error message on validation error
- more code fixes
changes v4:
- 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 | 43 +++++++++
drivers/net/phy/phy.c | 4 +-
drivers/net/phy/phy_device.c | 94 ++++++++++++++++++++
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 | 45 ++++++++++
9 files changed, 226 insertions(+), 18 deletions(-)
--
2.26.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH net-next v4 0/2] provide support for PHY master/slave configuration
@ 2020-05-01 7:46 Oleksij Rempel
0 siblings, 0 replies; 4+ messages in thread
From: Oleksij Rempel @ 2020-05-01 7:46 UTC (permalink / raw)
To: Andrew Lunn, David S. Miller, Florian Fainelli, Heiner Kallweit,
Jakub Kicinski, Jonathan Corbet, Michal Kubecek
Cc: Oleksij Rempel, David Jander, kernel, linux-kernel, netdev,
Russell King, mkl, Marek Vasut, Christian Herber
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-05-04 7:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-04 4:33 [PATCH net-next v4 0/2] provide support for PHY master/slave configuration Oleksij Rempel
2020-05-04 4:41 ` Oleksij Rempel
-- strict thread matches above, loose matches on Subject: below --
2020-05-04 7:12 Oleksij Rempel
2020-05-01 7:46 Oleksij Rempel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).