Skip to content

Max Filippov lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 15 repliesIn review

Changes in v2 from the cover letter

- new patch "phy: provide accessors for 'advertising' and 'supported' fields";
- disable both gigabit advertisement and support;
- drop MDIO bus frequency configurability, always configure for standard 2.5MHz;
- allow using common clock framework to provide ethoc clock;
- new patch: "net: ethoc: implement ethtool operations";
- drop device tree bindings documentation patch until common bindings format for network drivers is decided.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4phy: provide accessors for 'advertising' and 'supported' fieldsinclude/linux/phy.h+12 -01 reply
2/4net: ethoc: don't advertise gigabit speed on attached PHYdrivers/net/ethernet/ethoc.c+8 -08 replies
3/4net: ethoc: set up MII management bus clockdrivers/net/ethernet/ethoc.c include/net/ethoc.h+36 -22 replies
4/4net: ethoc: implement ethtool operationsdrivers/net/ethernet/ethoc.c+85 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4]

Hello David, Ben, Florian, Chris and everybody,

this series improves ethoc behavior in gigabit environment:
- first patch introduces two phylib setters for 'advertising' and 'supported' fields of struct phy_device;
- second patch disables gigabit advertisement in the attached PHY making possible to use gigabit link without any additional setup;
- third patch adds support to set up MII management bus frequency, adding new fields to platform data and to OF bindings;
- fourth patch adds basic ethtool support to ethoc driver.

These changes allow to use KC-705 board with 50MHz xtensa core and OpenCores 10/100 Mbps MAC connected to gigabit network without any additional setup.

Changes v1->v2:
- new patch "phy: provide accessors for 'advertising' and 'supported' fields";
- disable both gigabit advertisement and support;
- drop MDIO bus frequency configurability, always configure for standard 2.5MHz;
- allow using common clock framework to provide ethoc clock;
- new patch: "net: ethoc: implement ethtool operations";
- drop device tree bindings documentation patch until common bindings format for network drivers is decided.

Max Filippov (4):
phy: provide accessors for 'advertising' and 'supported' fields
net: ethoc: don't advertise gigabit speed on attached PHY
net: ethoc: set up MII management bus clock
net: ethoc: implement ethtool operations

 drivers/net/ethernet/ethoc.c | 130 ++++++++++++++++++++++++++++++++++++++++++-
 include/linux/phy.h          |  12 ++++
 include/net/ethoc.h          |   1 +
 3 files changed, 141 insertions(+), 2 deletions(-)
Signature · 1 line
1.8.1.4