Skip to content

net/ethoc improvements

Max Filippov u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 7 repliesIn review
  2. v17 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- rename ethoc_set_mac_address to ethoc_write_hwaddr_common;
- rename ethoc_recv_common to ethoc_is_new_packet_received;
- use positive logic with CONFIG_DM_ETH;
- return from DM ethoc_recv when ethoc_is_new_packet_received returns 0;
- use wait_for_bit in ethoc_mdio_read/ethoc_mdio_write;
- remove stray ioremap addition/removal across the series.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7net/ethoc: add Kconfig entry for the driverconfigs/openrisc-generic_defconfig drivers/net/Kconfig include/configs/openrisc-generic.h+7 -11 reply
2/7net/ethoc: use priv instead of dev internallydrivers/net/ethoc.c+56 -551 reply
3/7net/ethoc: add CONFIG_DM_ETH supportdrivers/net/ethoc.c include/dm/platform_data/net_ethoc.h+194 -471 reply
4/7net/ethoc: support device treedrivers/net/ethoc.c+15 -01 reply
5/7net/ethoc: don't mix virtual and physical addressesdrivers/net/ethoc.c+13 -101 reply
6/7net/ethoc: support private memory configurationsdrivers/net/ethoc.c include/dm/platform_data/net_ethoc.h+42 -51 reply
7/7net/ethoc: implement MDIO bus and support phylibdrivers/net/ethoc.c+150 -62 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchJoe HershbergerSimon Glass
1/7A-b
2/7A-b
3/7A-b R-b
4/7A-b
5/7A-b
6/7A-b
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 0/7] net/ethoc improvements

Hello,

this series does the following improvements to the OpenCores 10/100 Mbps driver:
- add Kconfig symbol for the driver;
- add DM_ETH support;
- add device tree support;
- add optional phylib support;
- add support for configurations with private packet memory;
- clean up virtual/physical address usage.

Changes v1->v2:
- rename ethoc_set_mac_address to ethoc_write_hwaddr_common;
- rename ethoc_recv_common to ethoc_is_new_packet_received;
- use positive logic with CONFIG_DM_ETH;
- return from DM ethoc_recv when ethoc_is_new_packet_received returns 0;
- use wait_for_bit in ethoc_mdio_read/ethoc_mdio_write;
- remove stray ioremap addition/removal across the series.

Max Filippov (7):
net/ethoc: add Kconfig entry for the driver net/ethoc: use priv instead of dev internally net/ethoc: add CONFIG_DM_ETH support net/ethoc: support device tree
net/ethoc: don't mix virtual and physical addresses net/ethoc: support private memory configurations net/ethoc: implement MDIO bus and support phylib

 configs/openrisc-generic_defconfig   |   2 +
 drivers/net/Kconfig                  |   5 +
 drivers/net/ethoc.c                  | 526 ++++++++++++++++++++++++++++-------
 include/configs/openrisc-generic.h   |   1 -
 include/dm/platform_data/net_ethoc.h |  21 ++
 5 files changed, 454 insertions(+), 101 deletions(-)
 create mode 100644 include/dm/platform_data/net_ethoc.h
Signature · 1 line
2.1.4