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.

v2: Move the workaround into the central mdio read function.
    Enable the temperature sensor, even though it does not work on the 6390,
    but it does on the 6341, which has the same ID problem.

Andrew Lunn (2):
  net: dsa: mv88e6xxx: Workaround missing PHY ID on mv88e6390
  net: phy: Marvell: Add mv88e6390 internal PHY

 drivers/net/dsa/mv88e6xxx/chip.c |  8 ++++++++
 drivers/net/phy/marvell.c        | 20 ++++++++++++++++++++
 include/linux/marvell_phy.h      |  6 ++++++
 3 files changed, 34 insertions(+)

-- 
2.11.0

Reply via email to