Commit ca761785 authored by Heena Sirwani's avatar Heena Sirwani Committed by Greg Kroah-Hartman

Staging: bcm: Fix line over 80 characters.

The following patch fixes the checkpatch.pl warning:
WARNING: line over 80 characters
Signed-off-by: default avatarHeena Sirwani <heenasirwani@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 38bb6174
...@@ -43,8 +43,10 @@ union u_ip_address { ...@@ -43,8 +43,10 @@ union u_ip_address {
ULONG ulIpv4Mask[MAX_IP_RANGE_LENGTH]; ULONG ulIpv4Mask[MAX_IP_RANGE_LENGTH];
}; };
struct { struct {
ULONG ulIpv6Addr[MAX_IP_RANGE_LENGTH * 4]; /* Source Ip Address Range */ /* Source Ip Address Range */
ULONG ulIpv6Mask[MAX_IP_RANGE_LENGTH * 4]; /* Source Ip Mask Address Range */ ULONG ulIpv6Addr[MAX_IP_RANGE_LENGTH * 4];
/* Source Ip Mask Address Range */
ULONG ulIpv6Mask[MAX_IP_RANGE_LENGTH * 4];
}; };
struct { struct {
UCHAR ucIpv4Address[MAX_IP_RANGE_LENGTH * IP_LENGTH_OF_ADDRESS]; UCHAR ucIpv4Address[MAX_IP_RANGE_LENGTH * IP_LENGTH_OF_ADDRESS];
...@@ -57,8 +59,10 @@ union u_ip_address { ...@@ -57,8 +59,10 @@ union u_ip_address {
}; };
struct bcm_hdr_suppression_contextinfo { struct bcm_hdr_suppression_contextinfo {
UCHAR ucaHdrSuppressionInBuf[MAX_PHS_LENGTHS]; /* Intermediate buffer to accumulate pkt Header for PHS */ /* Intermediate buffer to accumulate pkt Header for PHS */
UCHAR ucaHdrSuppressionOutBuf[MAX_PHS_LENGTHS + PHSI_LEN]; /* Intermediate buffer containing pkt Header after PHS */ UCHAR ucaHdrSuppressionInBuf[MAX_PHS_LENGTHS];
/* Intermediate buffer containing pkt Header after PHS */
UCHAR ucaHdrSuppressionOutBuf[MAX_PHS_LENGTHS + PHSI_LEN];
}; };
struct bcm_classifier_rule { struct bcm_classifier_rule {
...@@ -67,12 +71,14 @@ struct bcm_classifier_rule { ...@@ -67,12 +71,14 @@ struct bcm_classifier_rule {
B_UINT16 uiClassifierRuleIndex; B_UINT16 uiClassifierRuleIndex;
bool bUsed; bool bUsed;
USHORT usVCID_Value; USHORT usVCID_Value;
B_UINT8 u8ClassifierRulePriority; /* This field detemines the Classifier Priority */ /* This field detemines the Classifier Priority */
B_UINT8 u8ClassifierRulePriority;
union u_ip_address stSrcIpAddress; union u_ip_address stSrcIpAddress;
UCHAR ucIPSourceAddressLength; /* Ip Source Address Length */ UCHAR ucIPSourceAddressLength; /* Ip Source Address Length */
union u_ip_address stDestIpAddress; union u_ip_address stDestIpAddress;
UCHAR ucIPDestinationAddressLength; /* Ip Destination Address Length */ /* Ip Destination Address Length */
UCHAR ucIPDestinationAddressLength;
UCHAR ucIPTypeOfServiceLength; /* Type of service Length */ UCHAR ucIPTypeOfServiceLength; /* Type of service Length */
UCHAR ucTosLow; /* Tos Low */ UCHAR ucTosLow; /* Tos Low */
UCHAR ucTosHigh; /* Tos High */ UCHAR ucTosHigh; /* Tos High */
...@@ -136,7 +142,8 @@ struct bcm_packet_info { ...@@ -136,7 +142,8 @@ struct bcm_packet_info {
B_UINT8 u8QueueType; /* BE or rtPS */ B_UINT8 u8QueueType; /* BE or rtPS */
UINT uiMaxBucketSize; /* maximum size of the bucket for the queue */ /* maximum size of the bucket for the queue */
UINT uiMaxBucketSize;
UINT uiCurrentQueueDepthOnTarget; UINT uiCurrentQueueDepthOnTarget;
UINT uiCurrentBytesOnHost; UINT uiCurrentBytesOnHost;
UINT uiCurrentPacketsOnHost; UINT uiCurrentPacketsOnHost;
...@@ -355,7 +362,8 @@ struct bcm_mini_adapter { ...@@ -355,7 +362,8 @@ struct bcm_mini_adapter {
UINT uiNVMDSDSize; UINT uiNVMDSDSize;
UINT uiVendorExtnFlag; UINT uiVendorExtnFlag;
/* it will always represent chosen DSD at any point of time. /* it will always represent chosen DSD at any point of time.
* Generally it is Active DSD but in case of NVM RD/WR it might be different. * Generally it is Active DSD but in case of NVM RD/WR it
* might be different.
*/ */
UINT ulFlashCalStart; UINT ulFlashCalStart;
ULONG ulFlashControlSectionStart; ULONG ulFlashControlSectionStart;
...@@ -372,25 +380,33 @@ struct bcm_mini_adapter { ...@@ -372,25 +380,33 @@ struct bcm_mini_adapter {
struct bcm_flash_cs_info *psFlashCSInfo; struct bcm_flash_cs_info *psFlashCSInfo;
struct bcm_flash2x_vendor_info *psFlash2xVendorInfo; struct bcm_flash2x_vendor_info *psFlash2xVendorInfo;
UINT uiFlashBaseAdd; /* Flash start address */ UINT uiFlashBaseAdd; /* Flash start address */
UINT uiActiveISOOffset; /* Active ISO offset chosen before f/w download */ /* Active ISO offset chosen before f/w download */
UINT uiActiveISOOffset;
enum bcm_flash2x_section_val eActiveISO; /* Active ISO section val */ enum bcm_flash2x_section_val eActiveISO; /* Active ISO section val */
enum bcm_flash2x_section_val eActiveDSD; /* Active DSD val chosen before f/w download */ /* Active DSD val chosen before f/w download */
UINT uiActiveDSDOffsetAtFwDld; /* For accessing Active DSD chosen before f/w download */ enum bcm_flash2x_section_val eActiveDSD;
/* For accessing Active DSD chosen before f/w download */
UINT uiActiveDSDOffsetAtFwDld;
UINT uiFlashLayoutMajorVersion; UINT uiFlashLayoutMajorVersion;
UINT uiFlashLayoutMinorVersion; UINT uiFlashLayoutMinorVersion;
bool bAllDSDWriteAllow; bool bAllDSDWriteAllow;
bool bSigCorrupted; bool bSigCorrupted;
/* this should be set who so ever want to change the Headers. after Write it should be reset immediately. */ /* this should be set who so ever want to change the Headers.
* after Write it should be reset immediately.
*/
bool bHeaderChangeAllowed; bool bHeaderChangeAllowed;
int SelectedChip; int SelectedChip;
bool bEndPointHalted; bool bEndPointHalted;
/* while bFlashRawRead will be true, Driver ignore map lay out and consider flash as of without any map. */ /* while bFlashRawRead will be true, Driver
* ignore map lay out and consider flash as of without any map.
*/
bool bFlashRawRead; bool bFlashRawRead;
bool bPreparingForLowPowerMode; bool bPreparingForLowPowerMode;
bool bDoSuspend; bool bDoSuspend;
UINT syscfgBefFwDld; UINT syscfgBefFwDld;
bool StopAllXaction; bool StopAllXaction;
UINT32 liTimeSinceLastNetEntry; /* Used to Support extended CAPI requirements from */ /* Used to Support extended CAPI requirements from */
UINT32 liTimeSinceLastNetEntry;
struct semaphore LowPowerModeSync; struct semaphore LowPowerModeSync;
ULONG liDrainCalculated; ULONG liDrainCalculated;
UINT gpioBitMap; UINT gpioBitMap;
......
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