]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: use common value for channel type and protocol
authorAlex Elder <elder@linaro.org>
Tue, 10 Nov 2020 21:59:18 +0000 (15:59 -0600)
committerJakub Kicinski <kuba@kernel.org>
Fri, 13 Nov 2020 23:13:41 +0000 (15:13 -0800)
commit9cfb0f979043768ba4c3493d68d765d2e90519cd
tree5fe191049c09908d8a4416ab4dd7548142722da4
parent16dbc99937bc98a61fab12e86a5ccdaedd126813
net: ipa: use common value for channel type and protocol

The numeric values that represent the event ring channel type are
identical to the values that represent the matching protocol used
for a channel.  Use a new gsi_channel_type enumerated type to
represent the values programmed for both cases, using "CHANNEL_TYPE"
in member names in place of "EVT_CHTYPE" and "CHANNEL_PROTOCOL".

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/gsi.c