The internal PHYs of the MV88E6390 have a Marvell OUI, but the product ID is zero. Work around this by trapping reads to the ID, and if it is zero, return the MV88E6390 family ID.
Andrew Lunn (2): net: dsa: mv88e6xxx: Workaround missing PHY ID on mv88e6390 net: phy: Marvell: Add mv88e6390 internal PHY drivers/net/dsa/mv88e6xxx/global2.c | 16 +++++++++++++++- drivers/net/phy/marvell.c | 20 ++++++++++++++++++++ include/linux/marvell_phy.h | 6 ++++++ 3 files changed, 41 insertions(+), 1 deletion(-) -- 2.11.0