summaryrefslogtreecommitdiff
path: root/drivers/net/ipa/ipa_version.h
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-06-11 15:39:40 -0500
committerDavid S. Miller <davem@davemloft.net>2021-06-11 14:13:18 -0700
commit2e3cf97f4741b320e8f4639fcca732b17614a55f (patch)
tree9e0bef177cc30b0a99c643ff84dbd4ca649ed5f8 /drivers/net/ipa/ipa_version.h
parente22e8e2fae61de990e3a815a66f2ffa166669b8e (diff)
net: ipa: introduce sysfs code
Add IPA device attributes to expose information known by the IPA driver about the hardware and its configuration. All pointers used to display these attribute values (i.e., IPA pointer and endpoint pointers) will have been initialized by the time IPA probe has completed, so they may be safely dereferenced. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipa/ipa_version.h')
-rw-r--r--drivers/net/ipa/ipa_version.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ipa/ipa_version.h b/drivers/net/ipa/ipa_version.h
index ee2b3d02f3cd..6c16c895d842 100644
--- a/drivers/net/ipa/ipa_version.h
+++ b/drivers/net/ipa/ipa_version.h
@@ -21,6 +21,8 @@
* @IPA_VERSION_4_11: IPA version 4.11/GSI version 2.11 (2.1.1)
*
* Defines the version of IPA (and GSI) hardware present on the platform.
+ * Please update ipa_version_valid() and ipa_version_string() whenever a
+ * new version is added.
*/
enum ipa_version {
IPA_VERSION_3_0,