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

Staging: bcm: Replace ULONG with unsigned long in HostMIBSInterface.h

This patch replaces "ULONG" with "unsigned
long" in HostMIBSInterface.h.
Signed-off-by: default avatarKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 27aaa420
...@@ -23,15 +23,15 @@ ...@@ -23,15 +23,15 @@
typedef union _U_MIBS_IP_ADDRESS { typedef union _U_MIBS_IP_ADDRESS {
struct { struct {
/* Source Ip Address Range */ /* Source Ip Address Range */
ULONG ulIpv4Addr[MIBS_MAX_IP_RANGE_LENGTH]; unsigned long ulIpv4Addr[MIBS_MAX_IP_RANGE_LENGTH];
/* Source Ip Mask Address Range */ /* Source Ip Mask Address Range */
ULONG ulIpv4Mask[MIBS_MAX_IP_RANGE_LENGTH]; unsigned long ulIpv4Mask[MIBS_MAX_IP_RANGE_LENGTH];
}; };
struct { struct {
/* Source Ip Address Range */ /* Source Ip Address Range */
ULONG ulIpv6Addr[MIBS_MAX_IP_RANGE_LENGTH * 4]; unsigned long ulIpv6Addr[MIBS_MAX_IP_RANGE_LENGTH * 4];
/* Source Ip Mask Address Range */ /* Source Ip Mask Address Range */
ULONG ulIpv6Mask[MIBS_MAX_IP_RANGE_LENGTH * 4]; unsigned long ulIpv6Mask[MIBS_MAX_IP_RANGE_LENGTH * 4];
}; };
struct { struct {
unsigned char ucIpv4Address[MIBS_MAX_IP_RANGE_LENGTH * MIBS_IP_LENGTH_OF_ADDRESS]; unsigned char ucIpv4Address[MIBS_MAX_IP_RANGE_LENGTH * MIBS_IP_LENGTH_OF_ADDRESS];
...@@ -47,16 +47,16 @@ typedef struct _S_MIBS_HOST_INFO { ...@@ -47,16 +47,16 @@ typedef struct _S_MIBS_HOST_INFO {
u64 GoodTransmits; u64 GoodTransmits;
u64 GoodReceives; u64 GoodReceives;
/* this to keep track of the Tx and Rx MailBox Registers. */ /* this to keep track of the Tx and Rx MailBox Registers. */
ULONG NumDesUsed; unsigned long NumDesUsed;
ULONG CurrNumFreeDesc; unsigned long CurrNumFreeDesc;
ULONG PrevNumFreeDesc; unsigned long PrevNumFreeDesc;
/* to keep track the no of byte received */ /* to keep track the no of byte received */
ULONG PrevNumRcevBytes; unsigned long PrevNumRcevBytes;
ULONG CurrNumRcevBytes; unsigned long CurrNumRcevBytes;
/* QOS Related */ /* QOS Related */
ULONG BEBucketSize; unsigned long BEBucketSize;
ULONG rtPSBucketSize; unsigned long rtPSBucketSize;
ULONG LastTxQueueIndex; unsigned long LastTxQueueIndex;
BOOLEAN TxOutofDescriptors; BOOLEAN TxOutofDescriptors;
BOOLEAN TimerActive; BOOLEAN TimerActive;
UINT32 u32TotalDSD; UINT32 u32TotalDSD;
...@@ -65,7 +65,7 @@ typedef struct _S_MIBS_HOST_INFO { ...@@ -65,7 +65,7 @@ typedef struct _S_MIBS_HOST_INFO {
} S_MIBS_HOST_INFO; } S_MIBS_HOST_INFO;
typedef struct _S_MIBS_CLASSIFIER_RULE { typedef struct _S_MIBS_CLASSIFIER_RULE {
ULONG ulSFID; unsigned long ulSFID;
unsigned char ucReserved[2]; unsigned char ucReserved[2];
B_UINT16 uiClassifierRuleIndex; B_UINT16 uiClassifierRuleIndex;
BOOLEAN bUsed; BOOLEAN bUsed;
...@@ -99,7 +99,7 @@ typedef struct _S_MIBS_CLASSIFIER_RULE { ...@@ -99,7 +99,7 @@ typedef struct _S_MIBS_CLASSIFIER_RULE {
} S_MIBS_CLASSIFIER_RULE; } S_MIBS_CLASSIFIER_RULE;
typedef struct _S_MIBS_PHS_RULE { typedef struct _S_MIBS_PHS_RULE {
ULONG ulSFID; unsigned long ulSFID;
B_UINT8 u8PHSI; B_UINT8 u8PHSI;
B_UINT8 u8PHSFLength; B_UINT8 u8PHSFLength;
B_UINT8 u8PHSF[MIBS_MAX_PHS_LENGTHS]; B_UINT8 u8PHSF[MIBS_MAX_PHS_LENGTHS];
...@@ -109,8 +109,8 @@ typedef struct _S_MIBS_PHS_RULE { ...@@ -109,8 +109,8 @@ typedef struct _S_MIBS_PHS_RULE {
B_UINT8 u8PHSV; B_UINT8 u8PHSV;
B_UINT8 reserved[5]; B_UINT8 reserved[5];
LONG PHSModifiedBytes; LONG PHSModifiedBytes;
ULONG PHSModifiedNumPackets; unsigned long PHSModifiedNumPackets;
ULONG PHSErrorNumPackets; unsigned long PHSErrorNumPackets;
} S_MIBS_PHS_RULE; } S_MIBS_PHS_RULE;
typedef struct _S_MIBS_EXTSERVICEFLOW_PARAMETERS { typedef struct _S_MIBS_EXTSERVICEFLOW_PARAMETERS {
...@@ -138,7 +138,7 @@ typedef struct _S_MIBS_EXTSERVICEFLOW_PARAMETERS { ...@@ -138,7 +138,7 @@ typedef struct _S_MIBS_EXTSERVICEFLOW_PARAMETERS {
} S_MIBS_EXTSERVICEFLOW_PARAMETERS; } S_MIBS_EXTSERVICEFLOW_PARAMETERS;
typedef struct _S_MIBS_SERVICEFLOW_TABLE { typedef struct _S_MIBS_SERVICEFLOW_TABLE {
ULONG ulSFID; unsigned long ulSFID;
USHORT usVCID_Value; USHORT usVCID_Value;
UINT uiThreshold; UINT uiThreshold;
B_UINT8 u8TrafficPriority; B_UINT8 u8TrafficPriority;
...@@ -171,14 +171,14 @@ typedef struct _S_MIBS_SERVICEFLOW_TABLE { ...@@ -171,14 +171,14 @@ typedef struct _S_MIBS_SERVICEFLOW_TABLE {
} S_MIBS_SERVICEFLOW_TABLE; } S_MIBS_SERVICEFLOW_TABLE;
typedef struct _S_MIBS_DROPPED_APP_CNTRL_MESSAGES { typedef struct _S_MIBS_DROPPED_APP_CNTRL_MESSAGES {
ULONG cm_responses; unsigned long cm_responses;
ULONG cm_control_newdsx_multiclassifier_resp; unsigned long cm_control_newdsx_multiclassifier_resp;
ULONG link_control_resp; unsigned long link_control_resp;
ULONG status_rsp; unsigned long status_rsp;
ULONG stats_pointer_resp; unsigned long stats_pointer_resp;
ULONG idle_mode_status; unsigned long idle_mode_status;
ULONG auth_ss_host_msg; unsigned long auth_ss_host_msg;
ULONG low_priority_message; unsigned long low_priority_message;
} S_MIBS_DROPPED_APP_CNTRL_MESSAGES; } S_MIBS_DROPPED_APP_CNTRL_MESSAGES;
typedef struct _S_MIBS_HOST_STATS_MIBS { typedef struct _S_MIBS_HOST_STATS_MIBS {
......
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