The KS8851 has a reduced internal PHY, which is accessible through its registers at offset 0xe4. The PHY is compatible with KS886x PHY present in Micrel switches, including the PHY ID Low/High registers swap, which is present both in the MAC and the switch.
Marek Vasut (2): net: phy: micrel: Add KS8851 PHY support net: ks8851: Register MDIO bus and the internal PHY drivers/net/ethernet/micrel/ks8851.h | 2 + drivers/net/ethernet/micrel/ks8851_common.c | 112 +++++++++++++++++--- drivers/net/phy/micrel.c | 2 +- 3 files changed, 99 insertions(+), 17 deletions(-) Cc: Andrew Lunn <and...@lunn.ch> Cc: Heiner Kallweit <hkallwe...@gmail.com> Cc: Lukas Wunner <lu...@wunner.de> -- 2.29.2