This series rearranges and consolidates some GSI register definitions. Its general aim is to make things more consistent, by: - Using enumerated types to define the values held in GSI register fields - Defining field values in "gsi_reg.h", together with the definition of the register (and field) that holds them - Format enumerated type members consistently, with hexidecimal numeric values, and assignments aligned on the same column
There is one checkpatch "CHECK" warning requesting a blank line; I ignored that because my intention was to group certain definitions. -Alex Alex Elder (6): net: ipa: define GSI interrupt types with enums net: ipa: use common value for channel type and protocol net: ipa: move channel type values into "gsi_reg.h" net: ipa: move GSI error values into "gsi_reg.h" net: ipa: move GSI command opcode values into "gsi_reg.h" net: ipa: use enumerated types for GSI field values drivers/net/ipa/gsi.c | 89 +++++++----------------------------- drivers/net/ipa/gsi_reg.h | 95 +++++++++++++++++++++++++++++++-------- 2 files changed, 93 insertions(+), 91 deletions(-) -- 2.20.1