Skip to content

Commit

Permalink
Merge branch 'dsa-abstract-PHY-access'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed Aug 15, 2016
2 parents 45d3393 + 9c93829 commit 268ef4b
Show file tree
Hide file tree
Showing 2 changed files with 369 additions and 289 deletions.
Loading

0 comments on commit 268ef4b

Please sign in to comment.