net: sh_eth: Pass struct port_info around
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Mon, 30 Jun 2025 18:51:10 +0000 (20:51 +0200)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Thu, 10 Jul 2025 17:26:55 +0000 (19:26 +0200)
commit45e0a55ff69fea0c986f36ab3f9462d6b11c4383
tree991abc5851935b26ccf800df856a7985d67ee1d0
parent26758c24b913e54ca521f782fbf1c52dd4ee540e
net: sh_eth: Pass struct port_info around

The struct sh_eth_dev .port member is always set to 0, therefore only
single-ported SH Ethernet is ever used. Support for multiple SH Ethernet
ports implemented on driver level is a remnant from before U-Boot DM
existed.

Pass struct sh_eth_info port_info around directly and remove the
struct sh_eth_dev entirely. Handling of multiple ports should be done
by U-Boot DM and multiple per-driver-instance private data.

No functional change intended.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/net/sh_eth.c
drivers/net/sh_eth.h