Re: [PATCH net-next v9] net: mdio: Add RTL9300 MDIO driver
From: Russell King (Oracle)
Date: Mon Mar 10 2025 - 12:35:23 EST
On Mon, Mar 10, 2025 at 02:07:26AM +0000, Chris Packham wrote:
> So far upstream Linux doesn't have generic paged PHY register functions.
> It sounds like that'd be a prerequisite for this.
If it doesn't, then what are:
phy_save_paged()
phy_select_page()
phy_restore_page()
phy_read_paged()
phy_write_paged()
phy_modify_paged()
etc?
These are at the _phy_ level because it requires the co-operation of
the PHY driver to select the page in the PHY (each PHY vendor does
paging differently.) They aren't a MDIO bus level thing because paging
doesn't exist at that level.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!