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

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

This patch fixes all white space issues
in CmHost.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 ac56d89a
...@@ -18,49 +18,44 @@ ...@@ -18,49 +18,44 @@
#define _CM_HOST_H #define _CM_HOST_H
#pragma once #pragma once
#pragma pack (push,4) #pragma pack(push, 4)
#define DSX_MESSAGE_EXCHANGE_BUFFER 0xBF60AC84 /* This contains the pointer */ #define DSX_MESSAGE_EXCHANGE_BUFFER 0xBF60AC84 /* This contains the pointer */
#define DSX_MESSAGE_EXCHANGE_BUFFER_SIZE 72000 /* 24 K Bytes */ #define DSX_MESSAGE_EXCHANGE_BUFFER_SIZE 72000 /* 24 K Bytes */
/* brief structure stLocalSFAddRequest */ /* brief structure stLocalSFAddRequest */
typedef struct stLocalSFAddRequestAlt{ typedef struct stLocalSFAddRequestAlt {
B_UINT8 u8Type; B_UINT8 u8Type;
B_UINT8 u8Direction; B_UINT8 u8Direction;
B_UINT16 u16TID; B_UINT16 u16TID;
/* brief 16bitCID */ /* brief 16bitCID */
B_UINT16 u16CID; B_UINT16 u16CID;
/* brief 16bitVCID */ /* brief 16bitVCID */
B_UINT16 u16VCID; B_UINT16 u16VCID;
struct bcm_connect_mgr_params sfParameterSet; struct bcm_connect_mgr_params sfParameterSet;
/* USE_MEMORY_MANAGER(); */ /* USE_MEMORY_MANAGER(); */
}stLocalSFAddRequestAlt; } stLocalSFAddRequestAlt;
/* brief structure stLocalSFAddIndication */ /* brief structure stLocalSFAddIndication */
typedef struct stLocalSFAddIndicationAlt{ typedef struct stLocalSFAddIndicationAlt {
B_UINT8 u8Type; B_UINT8 u8Type;
B_UINT8 u8Direction; B_UINT8 u8Direction;
B_UINT16 u16TID; B_UINT16 u16TID;
/* brief 16bitCID */ /* brief 16bitCID */
B_UINT16 u16CID; B_UINT16 u16CID;
/* brief 16bitVCID */ /* brief 16bitVCID */
B_UINT16 u16VCID; B_UINT16 u16VCID;
struct bcm_connect_mgr_params sfAuthorizedSet; struct bcm_connect_mgr_params sfAuthorizedSet;
struct bcm_connect_mgr_params sfAdmittedSet; struct bcm_connect_mgr_params sfAdmittedSet;
struct bcm_connect_mgr_params sfActiveSet; struct bcm_connect_mgr_params sfActiveSet;
B_UINT8 u8CC; /* < Confirmation Code */ B_UINT8 u8CC; /* < Confirmation Code */
B_UINT8 u8Padd; /* < 8-bit Padding */ B_UINT8 u8Padd; /* < 8-bit Padding */
B_UINT16 u16Padd; /* < 16 bit Padding */ B_UINT16 u16Padd; /* < 16 bit Padding */
/* USE_MEMORY_MANAGER(); */ /* USE_MEMORY_MANAGER(); */
}stLocalSFAddIndicationAlt; } stLocalSFAddIndicationAlt;
/* brief structure stLocalSFAddConfirmation */ /* brief structure stLocalSFAddConfirmation */
typedef struct stLocalSFAddConfirmationAlt{ typedef struct stLocalSFAddConfirmationAlt {
B_UINT8 u8Type; B_UINT8 u8Type;
B_UINT8 u8Direction; B_UINT8 u8Direction;
B_UINT16 u16TID; B_UINT16 u16TID;
...@@ -71,11 +66,10 @@ typedef struct stLocalSFAddConfirmationAlt{ ...@@ -71,11 +66,10 @@ typedef struct stLocalSFAddConfirmationAlt{
struct bcm_connect_mgr_params sfAuthorizedSet; struct bcm_connect_mgr_params sfAuthorizedSet;
struct bcm_connect_mgr_params sfAdmittedSet; struct bcm_connect_mgr_params sfAdmittedSet;
struct bcm_connect_mgr_params sfActiveSet; struct bcm_connect_mgr_params sfActiveSet;
}stLocalSFAddConfirmationAlt; } stLocalSFAddConfirmationAlt;
/* brief structure stLocalSFChangeRequest */ /* brief structure stLocalSFChangeRequest */
typedef struct stLocalSFChangeRequestAlt{ typedef struct stLocalSFChangeRequestAlt {
B_UINT8 u8Type; B_UINT8 u8Type;
B_UINT8 u8Direction; B_UINT8 u8Direction;
B_UINT16 u16TID; B_UINT16 u16TID;
...@@ -91,15 +85,13 @@ typedef struct stLocalSFChangeRequestAlt{ ...@@ -91,15 +85,13 @@ typedef struct stLocalSFChangeRequestAlt{
struct bcm_connect_mgr_params sfAuthorizedSet; struct bcm_connect_mgr_params sfAuthorizedSet;
struct bcm_connect_mgr_params sfAdmittedSet; struct bcm_connect_mgr_params sfAdmittedSet;
struct bcm_connect_mgr_params sfActiveSet; struct bcm_connect_mgr_params sfActiveSet;
B_UINT8 u8CC; /* < Confirmation Code */ B_UINT8 u8CC; /* < Confirmation Code */
B_UINT8 u8Padd; /* < 8-bit Padding */ B_UINT8 u8Padd; /* < 8-bit Padding */
B_UINT16 u16Padd; /* < 16 bit */ B_UINT16 u16Padd; /* < 16 bit */
} stLocalSFChangeRequestAlt;
}stLocalSFChangeRequestAlt;
/* brief structure stLocalSFChangeConfirmation */ /* brief structure stLocalSFChangeConfirmation */
typedef struct stLocalSFChangeConfirmationAlt{ typedef struct stLocalSFChangeConfirmationAlt {
B_UINT8 u8Type; B_UINT8 u8Type;
B_UINT8 u8Direction; B_UINT8 u8Direction;
B_UINT16 u16TID; B_UINT16 u16TID;
...@@ -110,11 +102,10 @@ typedef struct stLocalSFChangeConfirmationAlt{ ...@@ -110,11 +102,10 @@ typedef struct stLocalSFChangeConfirmationAlt{
struct bcm_connect_mgr_params sfAuthorizedSet; struct bcm_connect_mgr_params sfAuthorizedSet;
struct bcm_connect_mgr_params sfAdmittedSet; struct bcm_connect_mgr_params sfAdmittedSet;
struct bcm_connect_mgr_params sfActiveSet; struct bcm_connect_mgr_params sfActiveSet;
} stLocalSFChangeConfirmationAlt;
}stLocalSFChangeConfirmationAlt;
/* brief structure stLocalSFChangeIndication */ /* brief structure stLocalSFChangeIndication */
typedef struct stLocalSFChangeIndicationAlt{ typedef struct stLocalSFChangeIndicationAlt {
B_UINT8 u8Type; B_UINT8 u8Type;
B_UINT8 u8Direction; B_UINT8 u8Direction;
B_UINT16 u16TID; B_UINT16 u16TID;
...@@ -125,23 +116,17 @@ typedef struct stLocalSFChangeIndicationAlt{ ...@@ -125,23 +116,17 @@ typedef struct stLocalSFChangeIndicationAlt{
struct bcm_connect_mgr_params sfAuthorizedSet; struct bcm_connect_mgr_params sfAuthorizedSet;
struct bcm_connect_mgr_params sfAdmittedSet; struct bcm_connect_mgr_params sfAdmittedSet;
struct bcm_connect_mgr_params sfActiveSet; struct bcm_connect_mgr_params sfActiveSet;
B_UINT8 u8CC; /* < Confirmation Code */ B_UINT8 u8CC; /* < Confirmation Code */
B_UINT8 u8Padd; /* < 8-bit Padding */ B_UINT8 u8Padd; /* < 8-bit Padding */
B_UINT16 u16Padd; /* < 16 bit */ B_UINT16 u16Padd; /* < 16 bit */
} stLocalSFChangeIndicationAlt;
}stLocalSFChangeIndicationAlt; ULONG StoreCmControlResponseMessage(struct bcm_mini_adapter *Adapter, PVOID pvBuffer, UINT *puBufferLength);
ULONG StoreCmControlResponseMessage(struct bcm_mini_adapter *Adapter, PVOID pvBuffer,UINT *puBufferLength);
INT AllocAdapterDsxBuffer(struct bcm_mini_adapter *Adapter); INT AllocAdapterDsxBuffer(struct bcm_mini_adapter *Adapter);
INT FreeAdapterDsxBuffer(struct bcm_mini_adapter *Adapter); INT FreeAdapterDsxBuffer(struct bcm_mini_adapter *Adapter);
ULONG SetUpTargetDsxBuffers(struct bcm_mini_adapter *Adapter); ULONG SetUpTargetDsxBuffers(struct bcm_mini_adapter *Adapter);
BOOLEAN CmControlResponseMessage(struct bcm_mini_adapter *Adapter, PVOID pvBuffer); BOOLEAN CmControlResponseMessage(struct bcm_mini_adapter *Adapter, PVOID pvBuffer);
#pragma pack(pop)
#pragma pack (pop)
#endif #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