OSDN Git Service

net: aquantia: add infrastructure to readout chip temperature
authorYana Esina <yana.esina@aquantia.com>
Mon, 29 Apr 2019 10:04:35 +0000 (10:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 May 2019 13:30:14 +0000 (09:30 -0400)
commit8f8940118654099ff549e16d77e65e476cccf1ae
tree910c1fbe9a8608353034d26d833d3203b1246dbf
parent2b5bc3c8ebce3b30676fb9bc30cf52d0a65640f9
net: aquantia: add infrastructure to readout chip temperature

Ability to read the chip temperature from memory
via hwmon interface

Signed-off-by: Yana Esina <yana.esina@aquantia.com>
Signed-off-by: Nikita Danilov <nikita.danilov@aquantia.com>
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_hw.h
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c