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

Staging: bcm: Properly format braces in PHSDefines.h

This patch formats braces in PHSDefines.h.
Signed-off-by: default avatarKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bb1c74e5
...@@ -37,8 +37,7 @@ ...@@ -37,8 +37,7 @@
#define ERR_CLSID_MATCH_FAIL 0x808 #define ERR_CLSID_MATCH_FAIL 0x808
#define ERR_PHSRULE_MATCH_FAIL 0x809 #define ERR_PHSRULE_MATCH_FAIL 0x809
typedef struct _S_PHS_RULE typedef struct _S_PHS_RULE {
{
B_UINT8 u8PHSI; B_UINT8 u8PHSI;
B_UINT8 u8PHSFLength; B_UINT8 u8PHSFLength;
B_UINT8 u8PHSF[MAX_PHS_LENGTHS]; B_UINT8 u8PHSF[MAX_PHS_LENGTHS];
...@@ -54,14 +53,12 @@ typedef struct _S_PHS_RULE ...@@ -54,14 +53,12 @@ typedef struct _S_PHS_RULE
ULONG PHSErrorNumPackets; ULONG PHSErrorNumPackets;
} S_PHS_RULE; } S_PHS_RULE;
typedef enum _E_CLASSIFIER_ENTRY_CONTEXT typedef enum _E_CLASSIFIER_ENTRY_CONTEXT {
{
eActiveClassifierRuleContext, eActiveClassifierRuleContext,
eOldClassifierRuleContext eOldClassifierRuleContext
} E_CLASSIFIER_ENTRY_CONTEXT; } E_CLASSIFIER_ENTRY_CONTEXT;
typedef struct _S_CLASSIFIER_ENTRY typedef struct _S_CLASSIFIER_ENTRY {
{
B_UINT8 bUsed; B_UINT8 bUsed;
B_UINT16 uiClassifierRuleId; B_UINT16 uiClassifierRuleId;
B_UINT8 u8PHSI; B_UINT8 u8PHSI;
...@@ -69,30 +66,25 @@ typedef struct _S_CLASSIFIER_ENTRY ...@@ -69,30 +66,25 @@ typedef struct _S_CLASSIFIER_ENTRY
B_UINT8 bUnclassifiedPHSRule; B_UINT8 bUnclassifiedPHSRule;
} S_CLASSIFIER_ENTRY; } S_CLASSIFIER_ENTRY;
typedef struct _S_CLASSIFIER_TABLE typedef struct _S_CLASSIFIER_TABLE {
{
B_UINT16 uiTotalClassifiers; B_UINT16 uiTotalClassifiers;
S_CLASSIFIER_ENTRY stActivePhsRulesList[MAX_PHSRULE_PER_SF]; S_CLASSIFIER_ENTRY stActivePhsRulesList[MAX_PHSRULE_PER_SF];
S_CLASSIFIER_ENTRY stOldPhsRulesList[MAX_PHSRULE_PER_SF]; S_CLASSIFIER_ENTRY stOldPhsRulesList[MAX_PHSRULE_PER_SF];
B_UINT16 uiOldestPhsRuleIndex; B_UINT16 uiOldestPhsRuleIndex;
} S_CLASSIFIER_TABLE; } S_CLASSIFIER_TABLE;
typedef struct _S_SERVICEFLOW_ENTRY {
typedef struct _S_SERVICEFLOW_ENTRY
{
B_UINT8 bUsed; B_UINT8 bUsed;
B_UINT16 uiVcid; B_UINT16 uiVcid;
S_CLASSIFIER_TABLE *pstClassifierTable; S_CLASSIFIER_TABLE *pstClassifierTable;
} S_SERVICEFLOW_ENTRY; } S_SERVICEFLOW_ENTRY;
typedef struct _S_SERVICEFLOW_TABLE typedef struct _S_SERVICEFLOW_TABLE {
{
B_UINT16 uiTotalServiceFlows; B_UINT16 uiTotalServiceFlows;
S_SERVICEFLOW_ENTRY stSFList[MAX_SERVICEFLOWS]; S_SERVICEFLOW_ENTRY stSFList[MAX_SERVICEFLOWS];
} S_SERVICEFLOW_TABLE; } S_SERVICEFLOW_TABLE;
typedef struct _PHS_DEVICE_EXTENSION typedef struct _PHS_DEVICE_EXTENSION {
{
/* PHS Specific data */ /* PHS Specific data */
S_SERVICEFLOW_TABLE *pstServiceFlowPhsRulesTable; S_SERVICEFLOW_TABLE *pstServiceFlowPhsRulesTable;
void *CompressedTxBuffer; void *CompressedTxBuffer;
......
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