]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: introduce sysfs code
authorAlex Elder <elder@linaro.org>
Fri, 11 Jun 2021 20:39:40 +0000 (15:39 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2021 21:13:18 +0000 (14:13 -0700)
commit2ab7c55246ddf4fce422bb120fda9ed5eb903a94
tree9e0bef177cc30b0a99c643ff84dbd4ca649ed5f8
parente93a1657a128369c0dfbcdbe57e66083613f34e2
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>
Documentation/ABI/testing/sysfs-devices-platform-soc-ipa [new file with mode: 0644]
drivers/net/ipa/Makefile
drivers/net/ipa/ipa_main.c
drivers/net/ipa/ipa_sysfs.c [new file with mode: 0644]
drivers/net/ipa/ipa_sysfs.h [new file with mode: 0644]
drivers/net/ipa/ipa_version.h