]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'dsa-abstract-PHY-access'
authorDavid S. Miller <davem@davemloft.net>
Mon, 15 Aug 2016 23:43:56 +0000 (16:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Aug 2016 23:43:56 +0000 (16:43 -0700)
commita2f6d10a99f3d4d3a860d42889fa0835fe4f052a
tree763c6a44a85c3b884d30adafac13a2f69ee6427f
parentabb0be6661fac74e1af7c0fdc24b888fbcdc5753
parentda0a77fe3f90a2ef58b473b884d3ce87d8cfcba3
Merge branch 'dsa-abstract-PHY-access'

Vivien Didelot says:

====================
net: dsa: abstract PHY accesses

The Marvell 88E6xxx switch chips have different way to access the PHY
devices registers.

Old chips use a direct access to the PHY registers. Next chips have a
PHY Polling Unit (PPU) which needs to be disabled before accessing PHY
registers. Newer chips have an indirect access to the PHY devices so
that disabling the PPU is not necessary.

This patchset abstracts these accesses behind a new mv88e6xxx_phy_* API.

It also has the side effect to fix the temperature access code for
88E61xx chips which were using the wrong PHY access functions.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>