net: dsa/mv88e6352: Report chip temperature
authorGuenter Roeck <linux@roeck-us.net>
Wed, 29 Oct 2014 17:44:59 +0000 (10:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Oct 2014 18:54:11 +0000 (14:54 -0400)
commit276db3b15d859e0339baa256edce7b737cc0848f
treed1186f8dfbca42a83155b8f2f7d69dd6977869b2
parent51579c3f1a9192b75365576227d40c7619493285
net: dsa/mv88e6352: Report chip temperature

MV88E6352 supports reading the chip temperature from two PHY registers,
6:26 and 6:27. Report it using the more accurate register 6:27.
Also report temperature limit and alarm.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6352.c