Re: [PATCH 1/6] bus: Add shared MDIO bus framework

From: Andrew Lunn
Date: Tue Apr 26 2016 - 14:23:52 EST


> A more complex problem would be having a PHY driver for a device
> that can be either an ethernet phy or some other phy.

I doubt that ever happens. You can have up to 32 different devices on
an MDIO bus. Since an Ethernet PHY and a "some other sort of PHY" are
completely different things, why would a hardware engineer place them
on the same address? It is like saying your ATA controller and VGA
controller share the same slot on the PCI bus...

Andrew