aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.h
diff options
context:
space:
mode:
authorYana Esina <yana.esina@aquantia.com>2019-04-29 10:04:38 +0000
committerDavid S. Miller <davem@davemloft.net>2019-05-01 09:30:14 -0400
commit4c0131539fc0addeb2f44e9ebe4920dbc4ad408c (patch)
tree235d2cd43d6911138089766e67f94f6346460d71 /drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.h
parentnet: aquantia: add infrastructure to readout chip temperature (diff)
downloadlinux-dev-4c0131539fc0addeb2f44e9ebe4920dbc4ad408c.tar.xz
linux-dev-4c0131539fc0addeb2f44e9ebe4920dbc4ad408c.zip
net: aquantia: implement hwmon api for chip temperature
Added support for hwmon api to fetch out chip temperature 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>
Diffstat (limited to 'drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.h')
-rw-r--r--drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.h b/drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.h
new file mode 100644
index 000000000000..41fbb1358068
--- /dev/null
+++ b/drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* Copyright (C) 2014-2017 aQuantia Corporation. */
+
+/* File aq_drvinfo.h: Declaration of common code for firmware info in sys.*/
+
+#ifndef AQ_DRVINFO_H
+#define AQ_DRVINFO_H
+
+#include "aq_nic.h"
+#include "aq_hw.h"
+#include "hw_atl/hw_atl_utils.h"
+
+int aq_drvinfo_init(struct net_device *ndev);
+
+#endif /* AQ_DRVINFO_H */