From: David S. Miller Date: Mon, 15 Aug 2016 23:43:56 +0000 (-0700) Subject: Merge branch 'dsa-abstract-PHY-access' X-Git-Tag: v4.9-rc1~14^2~91 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=268ef4b78ca48de269dbdaaab0c7a33e853ab2fd;p=karo-tx-linux.git 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 --- 268ef4b78ca48de269dbdaaab0c7a33e853ab2fd