Commit f0393b9e authored by Kevin McKinney's avatar Kevin McKinney Committed by Greg Kroah-Hartman

Staging: bcm: Fix all white space issues in PHSDefines.h

This patch fixes all white space issues in
PHSDefines.h as reported by checkpatch.pl.
Signed-off-by: default avatarKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c8182334
......@@ -2,12 +2,8 @@
#define BCM_PHS_DEFINES_H
#define PHS_INVALID_TABLE_INDEX 0xffffffff
/************************* MACROS **********************************************/
#define PHS_MEM_TAG "_SHP"
//PHS Defines
#define STATUS_PHS_COMPRESSED 0xa1
#define STATUS_PHS_NOCOMPRESSION 0xa2
......@@ -25,8 +21,6 @@
#define PHSI_LEN 1
#define ERROR_LEN 0
#define PHS_BUFFER_SIZE 1532
#define MAX_PHSRULE_PER_SF 20
#define MAX_SERVICEFLOWS 17
......@@ -61,20 +55,17 @@ typedef struct _S_PHS_RULE
B_UINT8 u8RefCnt;
//Flag to Store Unclassified PHS rules only in DL
B_UINT8 bUnclassifiedPHSRule;
B_UINT8 u8Reserved[3];
LONG PHSModifiedBytes;
ULONG PHSModifiedNumPackets;
ULONG PHSErrorNumPackets;
}S_PHS_RULE;
} S_PHS_RULE;
typedef enum _E_CLASSIFIER_ENTRY_CONTEXT
{
eActiveClassifierRuleContext,
eOldClassifierRuleContext
}E_CLASSIFIER_ENTRY_CONTEXT;
} E_CLASSIFIER_ENTRY_CONTEXT;
typedef struct _S_CLASSIFIER_ENTRY
{
......@@ -83,9 +74,7 @@ typedef struct _S_CLASSIFIER_ENTRY
B_UINT8 u8PHSI;
S_PHS_RULE *pstPhsRule;
B_UINT8 bUnclassifiedPHSRule;
}S_CLASSIFIER_ENTRY;
} S_CLASSIFIER_ENTRY;
typedef struct _S_CLASSIFIER_TABLE
{
......@@ -93,8 +82,7 @@ typedef struct _S_CLASSIFIER_TABLE
S_CLASSIFIER_ENTRY stActivePhsRulesList[MAX_PHSRULE_PER_SF];
S_CLASSIFIER_ENTRY stOldPhsRulesList[MAX_PHSRULE_PER_SF];
B_UINT16 uiOldestPhsRuleIndex;
}S_CLASSIFIER_TABLE;
} S_CLASSIFIER_TABLE;
typedef struct _S_SERVICEFLOW_ENTRY
......@@ -102,15 +90,13 @@ typedef struct _S_SERVICEFLOW_ENTRY
B_UINT8 bUsed;
B_UINT16 uiVcid;
S_CLASSIFIER_TABLE *pstClassifierTable;
}S_SERVICEFLOW_ENTRY;
} S_SERVICEFLOW_ENTRY;
typedef struct _S_SERVICEFLOW_TABLE
{
B_UINT16 uiTotalServiceFlows;
S_SERVICEFLOW_ENTRY stSFList[MAX_SERVICEFLOWS];
}S_SERVICEFLOW_TABLE;
} S_SERVICEFLOW_TABLE;
typedef struct _PHS_DEVICE_EXTENSION
{
......@@ -118,7 +104,6 @@ typedef struct _PHS_DEVICE_EXTENSION
S_SERVICEFLOW_TABLE *pstServiceFlowPhsRulesTable;
void *CompressedTxBuffer;
void *UnCompressedRxBuffer;
}PHS_DEVICE_EXTENSION,*PPHS_DEVICE_EXTENSION;
} PHS_DEVICE_EXTENSION, *PPHS_DEVICE_EXTENSION;
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment