]> 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)
commitd95ec63c00cce93761f11cf01ffdb5eee7738952
tree9e0bef177cc30b0a99c643ff84dbd4ca649ed5f8
parentece5bb2f98d65d74852c26f9a43852ca7d0f8c61
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