[PATCH v3 00/23] net: miiphybb: Get rid of global bb_miiphy_buses[]
Paul Barker
paul.barker.ct at bp.renesas.com
Wed Feb 26 09:51:40 CET 2025
On 22/02/2025 20:33, Marek Vasut wrote:
> Get rid of global bb_miiphy_buses[] which does not fit well with U-Boot
> DM in favor of usual per-ethernet-MAC-driver-instance MDIO bus accessors.
>
> Introduce the ability to allocate struct bb_miiphy_bus {} and make it wrap
> struct mii_dev {}, so the struct mii_dev can be passed into MDIO bus access
> infrastructure as usual. When the MDIO bus access infrastructure attempts to
> access the MDIO bus and invokes any of the bbmiiphy accessors, those accessors
> are passed the structu mii_dev {}, but can also access struct bb_miiphy_bus
> using plain container_of() .
>
> Clean up the drivers and update them to match.
I think this series looks ready to merge so I'll start rebasing my
RZ/G2L Ethernet patches on it.
Thanks Marek!
--
Paul Barker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x27F4B3459F002257.asc
Type: application/pgp-keys
Size: 3520 bytes
Desc: OpenPGP public key
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250226/af4e37af/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250226/af4e37af/attachment.sig>
More information about the U-Boot
mailing list