Advice on how to add support for non-standard Ethernet PHY

michael.firth at bt.com michael.firth at bt.com
Mon Dec 3 20:25:47 EST 2007


We have a board that is using an Ethernet PHY where the registers are
accessed 'indirectly' - i.e. to read or write a given register you set a
value to one specific register, and read the results back from another
specific register.

Unfortunately, these two registers are the only ones implemented, which
means that the normal PHY detection code in Linux does not work, as the
ID registers are also indirect.

Does anyone have any advice on an elegant way of adding support for this
type of PHY, or should I just add a special case to the get_phy_device()
function?

Thanks

Michael


More information about the Linuxppc-embedded mailing list