diff options
| -rw-r--r-- | drivers/staging/bcm/Adapter.h | 129 |
1 files changed, 67 insertions, 62 deletions
diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h index d4c98acd6c10..42291eed33d6 100644 --- a/drivers/staging/bcm/Adapter.h +++ b/drivers/staging/bcm/Adapter.h | |||
| @@ -34,7 +34,7 @@ struct link_request { | |||
| 34 | } __attribute__((packed)); | 34 | } __attribute__((packed)); |
| 35 | typedef struct link_request LINK_REQUEST, *PLINK_REQUEST; | 35 | typedef struct link_request LINK_REQUEST, *PLINK_REQUEST; |
| 36 | 36 | ||
| 37 | //classification extension is added | 37 | /* classification extension is added */ |
| 38 | typedef struct _ADD_CONNECTION { | 38 | typedef struct _ADD_CONNECTION { |
| 39 | ULONG SrcIpAddressCount; | 39 | ULONG SrcIpAddressCount; |
| 40 | ULONG SrcIpAddress[MAX_CONNECTIONS]; | 40 | ULONG SrcIpAddress[MAX_CONNECTIONS]; |
| @@ -83,12 +83,12 @@ typedef struct _CLASSIFICATION_ONLY { | |||
| 83 | 83 | ||
| 84 | typedef union _U_IP_ADDRESS { | 84 | typedef union _U_IP_ADDRESS { |
| 85 | struct { | 85 | struct { |
| 86 | ULONG ulIpv4Addr[MAX_IP_RANGE_LENGTH];//Source Ip Address Range | 86 | ULONG ulIpv4Addr[MAX_IP_RANGE_LENGTH]; /* Source Ip Address Range */ |
| 87 | ULONG ulIpv4Mask[MAX_IP_RANGE_LENGTH];//Source Ip Mask Address Range | 87 | ULONG ulIpv4Mask[MAX_IP_RANGE_LENGTH]; /* Source Ip Mask Address Range */ |
| 88 | }; | 88 | }; |
| 89 | struct { | 89 | struct { |
| 90 | ULONG ulIpv6Addr[MAX_IP_RANGE_LENGTH * 4];//Source Ip Address Range | 90 | ULONG ulIpv6Addr[MAX_IP_RANGE_LENGTH * 4]; /* Source Ip Address Range */ |
| 91 | ULONG ulIpv6Mask[MAX_IP_RANGE_LENGTH * 4];//Source Ip Mask Address Range | 91 | ULONG ulIpv6Mask[MAX_IP_RANGE_LENGTH * 4]; /* Source Ip Mask Address Range */ |
| 92 | }; | 92 | }; |
| 93 | struct { | 93 | struct { |
| 94 | UCHAR ucIpv4Address[MAX_IP_RANGE_LENGTH * IP_LENGTH_OF_ADDRESS]; | 94 | UCHAR ucIpv4Address[MAX_IP_RANGE_LENGTH * IP_LENGTH_OF_ADDRESS]; |
| @@ -102,8 +102,8 @@ typedef union _U_IP_ADDRESS { | |||
| 102 | struct _packet_info; | 102 | struct _packet_info; |
| 103 | 103 | ||
| 104 | typedef struct _S_HDR_SUPRESSION_CONTEXTINFO { | 104 | typedef struct _S_HDR_SUPRESSION_CONTEXTINFO { |
| 105 | UCHAR ucaHdrSupressionInBuf[MAX_PHS_LENGTHS]; //Intermediate buffer to accumulate pkt Header for PHS | 105 | UCHAR ucaHdrSupressionInBuf[MAX_PHS_LENGTHS]; /* Intermediate buffer to accumulate pkt Header for PHS */ |
| 106 | UCHAR ucaHdrSupressionOutBuf[MAX_PHS_LENGTHS + PHSI_LEN]; //Intermediate buffer containing pkt Header after PHS | 106 | UCHAR ucaHdrSupressionOutBuf[MAX_PHS_LENGTHS + PHSI_LEN]; /* Intermediate buffer containing pkt Header after PHS */ |
| 107 | } S_HDR_SUPRESSION_CONTEXTINFO; | 107 | } S_HDR_SUPRESSION_CONTEXTINFO; |
| 108 | 108 | ||
| 109 | typedef struct _S_CLASSIFIER_RULE { | 109 | typedef struct _S_CLASSIFIER_RULE { |
| @@ -112,19 +112,19 @@ typedef struct _S_CLASSIFIER_RULE { | |||
| 112 | B_UINT16 uiClassifierRuleIndex; | 112 | B_UINT16 uiClassifierRuleIndex; |
| 113 | BOOLEAN bUsed; | 113 | BOOLEAN bUsed; |
| 114 | USHORT usVCID_Value; | 114 | USHORT usVCID_Value; |
| 115 | B_UINT8 u8ClassifierRulePriority; //This field detemines the Classifier Priority | 115 | B_UINT8 u8ClassifierRulePriority; /* This field detemines the Classifier Priority */ |
| 116 | U_IP_ADDRESS stSrcIpAddress; | 116 | U_IP_ADDRESS stSrcIpAddress; |
| 117 | UCHAR ucIPSourceAddressLength;//Ip Source Address Length | 117 | UCHAR ucIPSourceAddressLength; /* Ip Source Address Length */ |
| 118 | 118 | ||
| 119 | U_IP_ADDRESS stDestIpAddress; | 119 | U_IP_ADDRESS stDestIpAddress; |
| 120 | UCHAR ucIPDestinationAddressLength;//Ip Destination Address Length | 120 | UCHAR ucIPDestinationAddressLength; /* Ip Destination Address Length */ |
| 121 | UCHAR ucIPTypeOfServiceLength;//Type of service Length | 121 | UCHAR ucIPTypeOfServiceLength; /* Type of service Length */ |
| 122 | UCHAR ucTosLow;//Tos Low | 122 | UCHAR ucTosLow; /* Tos Low */ |
| 123 | UCHAR ucTosHigh;//Tos High | 123 | UCHAR ucTosHigh; /* Tos High */ |
| 124 | UCHAR ucTosMask;//Tos Mask | 124 | UCHAR ucTosMask; /* Tos Mask */ |
| 125 | 125 | ||
| 126 | UCHAR ucProtocolLength;//protocol Length | 126 | UCHAR ucProtocolLength; /* protocol Length */ |
| 127 | UCHAR ucProtocol[MAX_PROTOCOL_LENGTH];//protocol Length | 127 | UCHAR ucProtocol[MAX_PROTOCOL_LENGTH]; /* protocol Length */ |
| 128 | USHORT usSrcPortRangeLo[MAX_PORT_RANGE]; | 128 | USHORT usSrcPortRangeLo[MAX_PORT_RANGE]; |
| 129 | USHORT usSrcPortRangeHi[MAX_PORT_RANGE]; | 129 | USHORT usSrcPortRangeHi[MAX_PORT_RANGE]; |
| 130 | UCHAR ucSrcPortRangeLength; | 130 | UCHAR ucSrcPortRangeLength; |
| @@ -138,14 +138,14 @@ typedef struct _S_CLASSIFIER_RULE { | |||
| 138 | BOOLEAN bDestIpValid; | 138 | BOOLEAN bDestIpValid; |
| 139 | BOOLEAN bSrcIpValid; | 139 | BOOLEAN bSrcIpValid; |
| 140 | 140 | ||
| 141 | //For IPv6 Addressing | 141 | /* For IPv6 Addressing */ |
| 142 | UCHAR ucDirection; | 142 | UCHAR ucDirection; |
| 143 | BOOLEAN bIpv6Protocol; | 143 | BOOLEAN bIpv6Protocol; |
| 144 | UINT32 u32PHSRuleID; | 144 | UINT32 u32PHSRuleID; |
| 145 | S_PHS_RULE sPhsRule; | 145 | S_PHS_RULE sPhsRule; |
| 146 | UCHAR u8AssociatedPHSI; | 146 | UCHAR u8AssociatedPHSI; |
| 147 | 147 | ||
| 148 | //Classification fields for ETH CS | 148 | /* Classification fields for ETH CS */ |
| 149 | UCHAR ucEthCSSrcMACLen; | 149 | UCHAR ucEthCSSrcMACLen; |
| 150 | UCHAR au8EThCSSrcMAC[MAC_ADDRESS_SIZE]; | 150 | UCHAR au8EThCSSrcMAC[MAC_ADDRESS_SIZE]; |
| 151 | UCHAR au8EThCSSrcMACMask[MAC_ADDRESS_SIZE]; | 151 | UCHAR au8EThCSSrcMACMask[MAC_ADDRESS_SIZE]; |
| @@ -158,7 +158,7 @@ typedef struct _S_CLASSIFIER_RULE { | |||
| 158 | USHORT usVLANID; | 158 | USHORT usVLANID; |
| 159 | USHORT usValidityBitMap; | 159 | USHORT usValidityBitMap; |
| 160 | } S_CLASSIFIER_RULE; | 160 | } S_CLASSIFIER_RULE; |
| 161 | //typedef struct _S_CLASSIFIER_RULE S_CLASSIFIER_RULE; | 161 | /* typedef struct _S_CLASSIFIER_RULE S_CLASSIFIER_RULE; */ |
| 162 | 162 | ||
| 163 | typedef struct _S_FRAGMENTED_PACKET_INFO { | 163 | typedef struct _S_FRAGMENTED_PACKET_INFO { |
| 164 | BOOLEAN bUsed; | 164 | BOOLEAN bUsed; |
| @@ -169,20 +169,20 @@ typedef struct _S_FRAGMENTED_PACKET_INFO { | |||
| 169 | } S_FRAGMENTED_PACKET_INFO, *PS_FRAGMENTED_PACKET_INFO; | 169 | } S_FRAGMENTED_PACKET_INFO, *PS_FRAGMENTED_PACKET_INFO; |
| 170 | 170 | ||
| 171 | struct _packet_info { | 171 | struct _packet_info { |
| 172 | //classification extension Rule | 172 | /* classification extension Rule */ |
| 173 | ULONG ulSFID; | 173 | ULONG ulSFID; |
| 174 | USHORT usVCID_Value; | 174 | USHORT usVCID_Value; |
| 175 | UINT uiThreshold; | 175 | UINT uiThreshold; |
| 176 | // This field determines the priority of the SF Queues | 176 | /* This field determines the priority of the SF Queues */ |
| 177 | B_UINT8 u8TrafficPriority; | 177 | B_UINT8 u8TrafficPriority; |
| 178 | 178 | ||
| 179 | BOOLEAN bValid; | 179 | BOOLEAN bValid; |
| 180 | BOOLEAN bActive; | 180 | BOOLEAN bActive; |
| 181 | BOOLEAN bActivateRequestSent; | 181 | BOOLEAN bActivateRequestSent; |
| 182 | 182 | ||
| 183 | B_UINT8 u8QueueType;//BE or rtPS | 183 | B_UINT8 u8QueueType; /* BE or rtPS */ |
| 184 | 184 | ||
| 185 | UINT uiMaxBucketSize;//maximum size of the bucket for the queue | 185 | UINT uiMaxBucketSize; /* maximum size of the bucket for the queue */ |
| 186 | UINT uiCurrentQueueDepthOnTarget; | 186 | UINT uiCurrentQueueDepthOnTarget; |
| 187 | UINT uiCurrentBytesOnHost; | 187 | UINT uiCurrentBytesOnHost; |
| 188 | UINT uiCurrentPacketsOnHost; | 188 | UINT uiCurrentPacketsOnHost; |
| @@ -255,22 +255,22 @@ typedef struct _PER_TARANG_DATA { | |||
| 255 | typedef struct _TARGET_PARAMS { | 255 | typedef struct _TARGET_PARAMS { |
| 256 | B_UINT32 m_u32CfgVersion; | 256 | B_UINT32 m_u32CfgVersion; |
| 257 | 257 | ||
| 258 | // Scanning Related Params | 258 | /* Scanning Related Params */ |
| 259 | B_UINT32 m_u32CenterFrequency; | 259 | B_UINT32 m_u32CenterFrequency; |
| 260 | B_UINT32 m_u32BandAScan; | 260 | B_UINT32 m_u32BandAScan; |
| 261 | B_UINT32 m_u32BandBScan; | 261 | B_UINT32 m_u32BandBScan; |
| 262 | B_UINT32 m_u32BandCScan; | 262 | B_UINT32 m_u32BandCScan; |
| 263 | 263 | ||
| 264 | // QoS Params | 264 | /* QoS Params */ |
| 265 | B_UINT32 m_u32minGrantsize; // size of minimum grant is 0 or 6 | 265 | B_UINT32 m_u32minGrantsize; /* size of minimum grant is 0 or 6 */ |
| 266 | B_UINT32 m_u32PHSEnable; | 266 | B_UINT32 m_u32PHSEnable; |
| 267 | 267 | ||
| 268 | // HO Params | 268 | /* HO Params */ |
| 269 | B_UINT32 m_u32HoEnable; | 269 | B_UINT32 m_u32HoEnable; |
| 270 | B_UINT32 m_u32HoReserved1; | 270 | B_UINT32 m_u32HoReserved1; |
| 271 | B_UINT32 m_u32HoReserved2; | 271 | B_UINT32 m_u32HoReserved2; |
| 272 | 272 | ||
| 273 | // Power Control Params | 273 | /* Power Control Params */ |
| 274 | B_UINT32 m_u32MimoEnable; | 274 | B_UINT32 m_u32MimoEnable; |
| 275 | B_UINT32 m_u32SecurityEnable; | 275 | B_UINT32 m_u32SecurityEnable; |
| 276 | /* | 276 | /* |
| @@ -279,22 +279,23 @@ typedef struct _TARGET_PARAMS { | |||
| 279 | */ | 279 | */ |
| 280 | B_UINT32 m_u32PowerSavingModesEnable; | 280 | B_UINT32 m_u32PowerSavingModesEnable; |
| 281 | /* PowerSaving Mode Options: | 281 | /* PowerSaving Mode Options: |
| 282 | bit 0 = 1: CPE mode - to keep pcmcia if alive; | 282 | * bit 0 = 1: CPE mode - to keep pcmcia if alive; |
| 283 | bit 1 = 1: CINR reporing in Idlemode Msg | 283 | * bit 1 = 1: CINR reporing in Idlemode Msg |
| 284 | bit 2 = 1: Default PSC Enable in sleepmode*/ | 284 | * bit 2 = 1: Default PSC Enable in sleepmode |
| 285 | */ | ||
| 285 | B_UINT32 m_u32PowerSavingModeOptions; | 286 | B_UINT32 m_u32PowerSavingModeOptions; |
| 286 | 287 | ||
| 287 | B_UINT32 m_u32ArqEnable; | 288 | B_UINT32 m_u32ArqEnable; |
| 288 | 289 | ||
| 289 | // From Version #3, the HARQ section renamed as general | 290 | /* From Version #3, the HARQ section renamed as general */ |
| 290 | B_UINT32 m_u32HarqEnable; | 291 | B_UINT32 m_u32HarqEnable; |
| 291 | // EEPROM Param Location | 292 | /* EEPROM Param Location */ |
| 292 | B_UINT32 m_u32EEPROMFlag; | 293 | B_UINT32 m_u32EEPROMFlag; |
| 293 | /* BINARY TYPE - 4th MSByte: | 294 | /* BINARY TYPE - 4th MSByte: |
| 294 | * Interface Type - 3rd MSByte: | 295 | * Interface Type - 3rd MSByte: |
| 295 | * Vendor Type - 2nd MSByte | 296 | * Vendor Type - 2nd MSByte |
| 296 | */ | 297 | */ |
| 297 | // Unused - LSByte | 298 | /* Unused - LSByte */ |
| 298 | B_UINT32 m_u32Customize; | 299 | B_UINT32 m_u32Customize; |
| 299 | B_UINT32 m_u32ConfigBW; /* In Hz */ | 300 | B_UINT32 m_u32ConfigBW; /* In Hz */ |
| 300 | B_UINT32 m_u32ShutDownTimer; | 301 | B_UINT32 m_u32ShutDownTimer; |
| @@ -315,7 +316,7 @@ typedef struct _TARGET_PARAMS { | |||
| 315 | B_UINT32 m_u32MaxMACDataperULFrame; | 316 | B_UINT32 m_u32MaxMACDataperULFrame; |
| 316 | B_UINT32 m_u32Corr2MacFlags; | 317 | B_UINT32 m_u32Corr2MacFlags; |
| 317 | 318 | ||
| 318 | //adding driver params. | 319 | /* adding driver params. */ |
| 319 | B_UINT32 HostDrvrConfig1; | 320 | B_UINT32 HostDrvrConfig1; |
| 320 | B_UINT32 HostDrvrConfig2; | 321 | B_UINT32 HostDrvrConfig2; |
| 321 | B_UINT32 HostDrvrConfig3; | 322 | B_UINT32 HostDrvrConfig3; |
| @@ -324,8 +325,9 @@ typedef struct _TARGET_PARAMS { | |||
| 324 | B_UINT32 HostDrvrConfig6; | 325 | B_UINT32 HostDrvrConfig6; |
| 325 | B_UINT32 m_u32SegmentedPUSCenable; | 326 | B_UINT32 m_u32SegmentedPUSCenable; |
| 326 | 327 | ||
| 327 | // BAMC enable - but 4.x does not support this feature | 328 | /* BAMC enable - but 4.x does not support this feature |
| 328 | // This is added just to sync 4.x and 5.x CFGs | 329 | * This is added just to sync 4.x and 5.x CFGs |
| 330 | */ | ||
| 329 | B_UINT32 m_u32BandAMCEnable; | 331 | B_UINT32 m_u32BandAMCEnable; |
| 330 | } STARGETPARAMS, *PSTARGETPARAMS; | 332 | } STARGETPARAMS, *PSTARGETPARAMS; |
| 331 | #endif | 333 | #endif |
| @@ -340,9 +342,9 @@ typedef INT (*FP_FLASH_WRITE)(struct _MINI_ADAPTER *, UINT, PVOID); | |||
| 340 | 342 | ||
| 341 | typedef INT (*FP_FLASH_WRITE_STATUS)(struct _MINI_ADAPTER *, UINT, PVOID); | 343 | typedef INT (*FP_FLASH_WRITE_STATUS)(struct _MINI_ADAPTER *, UINT, PVOID); |
| 342 | 344 | ||
| 343 | /** | 345 | /* |
| 344 | Driver adapter data structure | 346 | * Driver adapter data structure |
| 345 | */ | 347 | */ |
| 346 | struct _MINI_ADAPTER { | 348 | struct _MINI_ADAPTER { |
| 347 | struct _MINI_ADAPTER *next; | 349 | struct _MINI_ADAPTER *next; |
| 348 | struct net_device *dev; | 350 | struct net_device *dev; |
| @@ -365,14 +367,15 @@ struct _MINI_ADAPTER { | |||
| 365 | spinlock_t control_queue_lock; | 367 | spinlock_t control_queue_lock; |
| 366 | wait_queue_head_t process_read_wait_queue; | 368 | wait_queue_head_t process_read_wait_queue; |
| 367 | 369 | ||
| 368 | // the pointer to the first packet we have queued in send | 370 | /* the pointer to the first packet we have queued in send |
| 369 | // deserialized miniport support variables | 371 | * deserialized miniport support variables |
| 372 | */ | ||
| 370 | atomic_t TotalPacketCount; | 373 | atomic_t TotalPacketCount; |
| 371 | atomic_t TxPktAvail; | 374 | atomic_t TxPktAvail; |
| 372 | 375 | ||
| 373 | // this to keep track of the Tx and Rx MailBox Registers. | 376 | /* this to keep track of the Tx and Rx MailBox Registers. */ |
| 374 | atomic_t CurrNumFreeTxDesc; | 377 | atomic_t CurrNumFreeTxDesc; |
| 375 | // to keep track the no of byte received | 378 | /* to keep track the no of byte received */ |
| 376 | USHORT PrevNumRecvDescs; | 379 | USHORT PrevNumRecvDescs; |
| 377 | USHORT CurrNumRecvDescs; | 380 | USHORT CurrNumRecvDescs; |
| 378 | UINT u32TotalDSD; | 381 | UINT u32TotalDSD; |
| @@ -459,7 +462,7 @@ struct _MINI_ADAPTER { | |||
| 459 | BOOLEAN bShutStatus; | 462 | BOOLEAN bShutStatus; |
| 460 | BOOLEAN bWakeUpDevice; | 463 | BOOLEAN bWakeUpDevice; |
| 461 | unsigned int usIdleModePattern; | 464 | unsigned int usIdleModePattern; |
| 462 | //BOOLEAN bTriedToWakeUpFromShutdown; | 465 | /* BOOLEAN bTriedToWakeUpFromShutdown; */ |
| 463 | BOOLEAN bLinkDownRequested; | 466 | BOOLEAN bLinkDownRequested; |
| 464 | int downloadDDR; | 467 | int downloadDDR; |
| 465 | PHS_DEVICE_EXTENSION stBCMPhsContext; | 468 | PHS_DEVICE_EXTENSION stBCMPhsContext; |
| @@ -481,8 +484,9 @@ struct _MINI_ADAPTER { | |||
| 481 | BOOLEAN bStatusWrite; | 484 | BOOLEAN bStatusWrite; |
| 482 | UINT uiNVMDSDSize; | 485 | UINT uiNVMDSDSize; |
| 483 | UINT uiVendorExtnFlag; | 486 | UINT uiVendorExtnFlag; |
| 484 | //it will always represent chosen DSD at any point of time. | 487 | /* it will always represent chosen DSD at any point of time. |
| 485 | // Generally it is Active DSD but in case of NVM RD/WR it might be different. | 488 | * Generally it is Active DSD but in case of NVM RD/WR it might be different. |
| 489 | */ | ||
| 486 | UINT ulFlashCalStart; | 490 | UINT ulFlashCalStart; |
| 487 | ULONG ulFlashControlSectionStart; | 491 | ULONG ulFlashControlSectionStart; |
| 488 | ULONG ulFlashWriteSize; | 492 | ULONG ulFlashWriteSize; |
| @@ -493,30 +497,30 @@ struct _MINI_ADAPTER { | |||
| 493 | struct semaphore NVMRdmWrmLock; | 497 | struct semaphore NVMRdmWrmLock; |
| 494 | struct device *pstCreatedClassDevice; | 498 | struct device *pstCreatedClassDevice; |
| 495 | 499 | ||
| 496 | // BOOLEAN InterfaceUpStatus; | 500 | /* BOOLEAN InterfaceUpStatus; */ |
| 497 | PFLASH2X_CS_INFO psFlash2xCSInfo; | 501 | PFLASH2X_CS_INFO psFlash2xCSInfo; |
| 498 | PFLASH_CS_INFO psFlashCSInfo; | 502 | PFLASH_CS_INFO psFlashCSInfo; |
| 499 | PFLASH2X_VENDORSPECIFIC_INFO psFlash2xVendorInfo; | 503 | PFLASH2X_VENDORSPECIFIC_INFO psFlash2xVendorInfo; |
| 500 | UINT uiFlashBaseAdd; //Flash start address | 504 | UINT uiFlashBaseAdd; /* Flash start address */ |
| 501 | UINT uiActiveISOOffset; //Active ISO offset chosen before f/w download | 505 | UINT uiActiveISOOffset; /* Active ISO offset chosen before f/w download */ |
| 502 | FLASH2X_SECTION_VAL eActiveISO; //Active ISO section val | 506 | FLASH2X_SECTION_VAL eActiveISO; /* Active ISO section val */ |
| 503 | FLASH2X_SECTION_VAL eActiveDSD; //Active DSD val chosen before f/w download | 507 | FLASH2X_SECTION_VAL eActiveDSD; /* Active DSD val chosen before f/w download */ |
| 504 | UINT uiActiveDSDOffsetAtFwDld; //For accessing Active DSD chosen before f/w download | 508 | UINT uiActiveDSDOffsetAtFwDld; /* For accessing Active DSD chosen before f/w download */ |
| 505 | UINT uiFlashLayoutMajorVersion; | 509 | UINT uiFlashLayoutMajorVersion; |
| 506 | UINT uiFlashLayoutMinorVersion; | 510 | UINT uiFlashLayoutMinorVersion; |
| 507 | BOOLEAN bAllDSDWriteAllow; | 511 | BOOLEAN bAllDSDWriteAllow; |
| 508 | BOOLEAN bSigCorrupted; | 512 | BOOLEAN bSigCorrupted; |
| 509 | //this should be set who so ever want to change the Headers. after Wrtie it should be reset immediately. | 513 | /* this should be set who so ever want to change the Headers. after Wrtie it should be reset immediately. */ |
| 510 | BOOLEAN bHeaderChangeAllowed; | 514 | BOOLEAN bHeaderChangeAllowed; |
| 511 | INT SelectedChip; | 515 | INT SelectedChip; |
| 512 | BOOLEAN bEndPointHalted; | 516 | BOOLEAN bEndPointHalted; |
| 513 | //while bFlashRawRead will be true, Driver ignore map lay out and consider flash as of without any map. | 517 | /* while bFlashRawRead will be true, Driver ignore map lay out and consider flash as of without any map. */ |
| 514 | BOOLEAN bFlashRawRead; | 518 | BOOLEAN bFlashRawRead; |
| 515 | BOOLEAN bPreparingForLowPowerMode; | 519 | BOOLEAN bPreparingForLowPowerMode; |
| 516 | BOOLEAN bDoSuspend; | 520 | BOOLEAN bDoSuspend; |
| 517 | UINT syscfgBefFwDld; | 521 | UINT syscfgBefFwDld; |
| 518 | BOOLEAN StopAllXaction; | 522 | BOOLEAN StopAllXaction; |
| 519 | UINT32 liTimeSinceLastNetEntry; //Used to Support extended CAPI requirements from | 523 | UINT32 liTimeSinceLastNetEntry; /* Used to Support extended CAPI requirements from */ |
| 520 | struct semaphore LowPowerModeSync; | 524 | struct semaphore LowPowerModeSync; |
| 521 | ULONG liDrainCalculated; | 525 | ULONG liDrainCalculated; |
| 522 | UINT gpioBitMap; | 526 | UINT gpioBitMap; |
| @@ -539,7 +543,7 @@ typedef struct FirmwareInfo { | |||
| 539 | ULONG u32StartingAddress; | 543 | ULONG u32StartingAddress; |
| 540 | } __attribute__((packed)) FIRMWARE_INFO, *PFIRMWARE_INFO; | 544 | } __attribute__((packed)) FIRMWARE_INFO, *PFIRMWARE_INFO; |
| 541 | 545 | ||
| 542 | // holds the value of net_device structure.. | 546 | /* holds the value of net_device structure.. */ |
| 543 | extern struct net_device *gblpnetdev; | 547 | extern struct net_device *gblpnetdev; |
| 544 | typedef struct _cntl_pkt { | 548 | typedef struct _cntl_pkt { |
| 545 | PMINI_ADAPTER Adapter; | 549 | PMINI_ADAPTER Adapter; |
| @@ -554,9 +558,10 @@ typedef struct _DDR_SETTING { | |||
| 554 | typedef DDR_SETTING DDR_SET_NODE, *PDDR_SET_NODE; | 558 | typedef DDR_SETTING DDR_SET_NODE, *PDDR_SET_NODE; |
| 555 | INT InitAdapter(PMINI_ADAPTER psAdapter); | 559 | INT InitAdapter(PMINI_ADAPTER psAdapter); |
| 556 | 560 | ||
| 557 | // ===================================================================== | 561 | /* ===================================================================== |
| 558 | // Beceem vendor request codes for EP0 | 562 | * Beceem vendor request codes for EP0 |
| 559 | // ===================================================================== | 563 | * ===================================================================== |
| 564 | */ | ||
| 560 | 565 | ||
| 561 | #define BCM_REQUEST_READ 0x2 | 566 | #define BCM_REQUEST_READ 0x2 |
| 562 | #define BCM_REQUEST_WRITE 0x1 | 567 | #define BCM_REQUEST_WRITE 0x1 |
| @@ -587,4 +592,4 @@ typedef enum eInterface_setting { | |||
| 587 | ALTERNATE_SETTING_1 = 1, | 592 | ALTERNATE_SETTING_1 = 1, |
| 588 | } INTERFACE_SETTING; | 593 | } INTERFACE_SETTING; |
| 589 | 594 | ||
| 590 | #endif //__ADAPTER_H__ | 595 | #endif /* __ADAPTER_H__ */ |
