netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 net-next 0/2] Work around missing PHY prodcut ID in mv88e6390
@ 2017-02-01  2:40 Andrew Lunn
  2017-02-01  2:40 ` [PATCHv2 net-next 1/2] net: dsa: mv88e6xxx: Workaround missing PHY ID on mv88e6390 Andrew Lunn
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Andrew Lunn @ 2017-02-01  2:40 UTC (permalink / raw)
  To: David Miller; +Cc: Vivien Didelot, netdev, Andrew Lunn

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-02-03  2:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-01  2:40 [PATCHv2 net-next 0/2] Work around missing PHY prodcut ID in mv88e6390 Andrew Lunn
2017-02-01  2:40 ` [PATCHv2 net-next 1/2] net: dsa: mv88e6xxx: Workaround missing PHY ID on mv88e6390 Andrew Lunn
2017-02-01  2:45   ` Florian Fainelli
2017-02-01  2:49   ` Vivien Didelot
2017-02-01  2:40 ` [PATCHv2 net-next 2/2] net: phy: Marvell: Add mv88e6390 internal PHY Andrew Lunn
2017-02-03  2:51 ` [PATCHv2 net-next 0/2] Work around missing PHY prodcut ID in mv88e6390 David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).