lkml.org 
[lkml]   [2020]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next 0/6] net: ipa: GSI register consolidation
Date
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

\
 
 \ /
  Last update: 2020-11-10 22:59    [W:0.072 / U:0.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site