OSDN Git Service

net: ipa: reduce IPA version assumptions
authorAlex Elder <elder@linaro.org>
Wed, 24 Mar 2021 13:15:23 +0000 (08:15 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Mar 2021 23:52:47 +0000 (16:52 -0700)
commitd7f3087b396d8aa4b4751b61fa8cbab82113bd59
treef583fc5964f673a96bd970e9a59d279109857dea
parentd1c5688087a0904606a77ae4803f13777f8dd7d5
net: ipa: reduce IPA version assumptions

Modify conditional tests throughout the IPA code so they do not
assume that IPA v3.5.1 is the oldest version supported.  Also remove
assumptions that IPA v4.5 is the newest version of IPA supported.

Augment versions in comments with "+", to be clearer that the
comment applies to a version and subsequent versions.  (E.g.,
"present for IPA v4.2+" instead of just "present for v4.2".)

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/gsi.c
drivers/net/ipa/ipa_cmd.c
drivers/net/ipa/ipa_endpoint.c
drivers/net/ipa/ipa_main.c
drivers/net/ipa/ipa_qmi.c