net: miiphybb: Split off struct bb_miiphy_bus_ops
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 2 Mar 2025 01:24:42 +0000 (02:24 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Tue, 11 Mar 2025 22:05:57 +0000 (23:05 +0100)
commitc9671c9036d465e0681d947b0b7a76019a096758
tree799f879b5bd48687923b9087cedcca76a132feb9
parent0e5f1b8f052bfc8f2a30ae4dd958371242b4b8dd
net: miiphybb: Split off struct bb_miiphy_bus_ops

Move miiphybb operations into separate struct bb_miiphy_bus_ops
structure, add pointer to struct bb_miiphy_bus_ops into the base
struct bb_miiphy_bus and access the ops through this pointer in
miiphybb generic code. The variable reshuffling in miiphybb.c
cannot be easily avoided.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
board/gdsys/a38x/ihs_phys.c
drivers/net/designware.c
drivers/net/phy/miiphybb.c
drivers/net/ravb.c
drivers/net/sh_eth.c
include/miiphy.h