Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: ipa: add IPA v5.0 to ipa_version_string()

In the IPA device sysfs directory, the "version" file can be read to
find out what IPA version is implemented. The content of this file
is supplied by ipa_version_string(), which needs to be updated to
properly handle IPA v5.0.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230322144742.2203947-1-elder@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Alex Elder and committed by
Jakub Kicinski
0c04328c 8da3a559

+2
+2
drivers/net/ipa/ipa_sysfs.c
··· 36 36 return "4.9"; 37 37 case IPA_VERSION_4_11: 38 38 return "4.11"; 39 + case IPA_VERSION_5_0: 40 + return "5.0"; 39 41 default: 40 42 return "0.0"; /* Won't happen (checked at probe time) */ 41 43 }