]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: expand GSI channel types
authorAlex Elder <elder@linaro.org>
Thu, 25 Mar 2021 14:44:37 +0000 (09:44 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Mar 2021 00:22:30 +0000 (17:22 -0700)
commit1bf59cf5b89c43f480ff91aca6ad7593f18a5f2c
tree99d37e0838ecad8fde6cbc37ceccd61a032f9480
parent04bf6974d74a20d3974f19fe7e3088c293d5f6de
net: ipa: expand GSI channel types

IPA v4.5 (GSI v2.5) supports a larger set of channel protocols, and
adds an additional field to hold the most-significant bits of the
protocol identifier on a channel.

Add an inline function that encodes the protocol (including the
extra bits for newer versions of IPA), and define some additional
protocols.  At this point we still use only GPI protocol.

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/gsi_reg.h