Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353793
b: refs/heads/master
c: bb1c74e
h: refs/heads/master
i:
  353791: f60c668
v: v3
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent 66819bd commit df0bdfb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f0393b9ec763e630926d4b09c138bf6f5e4101cd
refs/heads/master: bb1c74e58339e9e5b5a00f052c3cecf894877d63
17 changes: 5 additions & 12 deletions trunk/drivers/staging/bcm/PHSDefines.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#ifndef BCM_PHS_DEFINES_H
#define BCM_PHS_DEFINES_H

#define PHS_INVALID_TABLE_INDEX 0xffffffff
/************************* MACROS **********************************************/
#define PHS_INVALID_TABLE_INDEX 0xffffffff
#define PHS_MEM_TAG "_SHP"
//PHS Defines

/* PHS Defines */
#define STATUS_PHS_COMPRESSED 0xa1
#define STATUS_PHS_NOCOMPRESSION 0xa2
#define APPLY_PHS 1
Expand All @@ -24,7 +24,7 @@
#define MAX_PHSRULE_PER_SF 20
#define MAX_SERVICEFLOWS 17

//PHS Error Defines
/* PHS Error Defines */
#define PHS_SUCCESS 0
#define ERR_PHS_INVALID_DEVICE_EXETENSION 0x800
#define ERR_PHS_INVALID_PHS_RULE 0x801
Expand All @@ -39,21 +39,14 @@

typedef struct _S_PHS_RULE
{
/// brief 8bit PHSI Of The Service Flow
B_UINT8 u8PHSI;
/// brief PHSF Of The Service Flow
B_UINT8 u8PHSFLength;
B_UINT8 u8PHSF[MAX_PHS_LENGTHS];
/// brief PHSM Of The Service Flow
B_UINT8 u8PHSMLength;
B_UINT8 u8PHSM[MAX_PHS_LENGTHS];
/// brief 8bit PHSS Of The Service Flow
B_UINT8 u8PHSS;
/// brief 8bit PHSV Of The Service Flow
B_UINT8 u8PHSV;
//Reference Count for this PHS Rule
B_UINT8 u8RefCnt;
//Flag to Store Unclassified PHS rules only in DL
B_UINT8 bUnclassifiedPHSRule;
B_UINT8 u8Reserved[3];
LONG PHSModifiedBytes;
Expand Down Expand Up @@ -100,7 +93,7 @@ typedef struct _S_SERVICEFLOW_TABLE

typedef struct _PHS_DEVICE_EXTENSION
{
/* PHS Specific data*/
/* PHS Specific data */
S_SERVICEFLOW_TABLE *pstServiceFlowPhsRulesTable;
void *CompressedTxBuffer;
void *UnCompressedRxBuffer;
Expand Down

0 comments on commit df0bdfb

Please sign in to comment.