]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: move channel type values into "gsi_reg.h"
authorAlex Elder <elder@linaro.org>
Tue, 10 Nov 2020 21:59:19 +0000 (15:59 -0600)
committerJakub Kicinski <kuba@kernel.org>
Fri, 13 Nov 2020 23:13:41 +0000 (15:13 -0800)
commit0214889454924d2f9e1d190287bccd7ffb502137
tree5c54ab872dc7ef52846ba02c231aa8fb2ea242f3
parent9cfb0f979043768ba4c3493d68d765d2e90519cd
net: ipa: move channel type values into "gsi_reg.h"

The gsi_channel_type enumerated type define values used for the
channel type/protocol for event rings and channels.  Move its
definition out of "gsi.c" and into "gsi_reg.h", alongside the
definition of the CH_C_CNTXT_0 register offset and its fields.
Add a comment near the definition of the EV_CH_E_CNTXT_0 register
indicating this type is used for its EV_CHTYPE field.

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