Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337060
b: refs/heads/master
c: 7af1413
h: refs/heads/master
v: v3
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Oct 19, 2012
1 parent 968158c commit 400992a
Show file tree
Hide file tree
Showing 2 changed files with 13 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: 9ef0760fceda3f11d771fa007f43d6716b8139fc
refs/heads/master: 7af1413446b8e842412932f0b8634f107412b63c
24 changes: 12 additions & 12 deletions trunk/drivers/staging/bcm/Misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ static void default_wimax_protocol_initialize(struct bcm_mini_adapter *Adapter)
return;
}

INT InitAdapter(struct bcm_mini_adapter *psAdapter)
int InitAdapter(struct bcm_mini_adapter *psAdapter)
{
int i = 0;
INT Status = STATUS_SUCCESS;
int Status = STATUS_SUCCESS;
BCM_DEBUG_PRINT(psAdapter, DBG_TYPE_INITEXIT, MP_INIT, DBG_LVL_ALL, "Initialising Adapter = %p", psAdapter);

if (psAdapter == NULL) {
Expand Down Expand Up @@ -216,10 +216,10 @@ static int BcmFileDownload(struct bcm_mini_adapter *Adapter, const char *path, u
* Logical Adapter
* Control Packet Buffer
*/
INT CopyBufferToControlPacket(struct bcm_mini_adapter *Adapter, void *ioBuffer)
int CopyBufferToControlPacket(struct bcm_mini_adapter *Adapter, void *ioBuffer)
{
struct bcm_leader *pLeader = NULL;
INT Status = 0;
int Status = 0;
unsigned char *ctrl_buff = NULL;
unsigned int pktlen = 0;
struct bcm_link_request *pLinkReq = NULL;
Expand Down Expand Up @@ -543,7 +543,7 @@ void LinkControlResponseMessage(struct bcm_mini_adapter *Adapter, PUCHAR pucBuff

void SendIdleModeResponse(struct bcm_mini_adapter *Adapter)
{
INT status = 0, NVMAccess = 0, lowPwrAbortMsg = 0;
int status = 0, NVMAccess = 0, lowPwrAbortMsg = 0;
struct timeval tv;
struct bcm_link_request stIdleResponse = {{0} };
memset(&tv, 0, sizeof(tv));
Expand Down Expand Up @@ -583,7 +583,7 @@ void SendIdleModeResponse(struct bcm_mini_adapter *Adapter)

/* Wait for the LED to TURN OFF before sending ACK response */
if (Adapter->LEDInfo.led_thread_running & BCM_LED_THREAD_RUNNING_ACTIVELY) {
INT iRetVal = 0;
int iRetVal = 0;

/* Wake the LED Thread with IDLEMODE_ENTER State */
Adapter->DriverState = LOWPOWER_MODE_ENTER;
Expand Down Expand Up @@ -1211,7 +1211,7 @@ int wrmalt(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, unsigned in

int rdmalt(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, unsigned int *pucBuff, size_t size)
{
INT uiRetVal = 0;
int uiRetVal = 0;

uiRetVal = rdm(Adapter, uiAddress, (PUCHAR)pucBuff, size);
convertEndian(RWM_READ, (unsigned int *)pucBuff, size);
Expand All @@ -1221,7 +1221,7 @@ int rdmalt(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, unsigned in

int wrmWithLock(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, PCHAR pucBuff, size_t sSize)
{
INT status = STATUS_SUCCESS;
int status = STATUS_SUCCESS;
down(&Adapter->rdmwrmsync);

if ((Adapter->IdleMode == TRUE) ||
Expand Down Expand Up @@ -1260,7 +1260,7 @@ int wrmaltWithLock(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, uns

int rdmaltWithLock(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, unsigned int *pucBuff, size_t size)
{
INT uiRetVal = STATUS_SUCCESS;
int uiRetVal = STATUS_SUCCESS;

down(&Adapter->rdmwrmsync);
if ((Adapter->IdleMode == TRUE) ||
Expand Down Expand Up @@ -1346,7 +1346,7 @@ static void SendShutModeResponse(struct bcm_mini_adapter *Adapter)

/* Wait for the LED to TURN OFF before sending ACK response */
if (Adapter->LEDInfo.led_thread_running & BCM_LED_THREAD_RUNNING_ACTIVELY) {
INT iRetVal = 0;
int iRetVal = 0;

/* Wake the LED Thread with LOWPOWER_MODE_ENTER State */
Adapter->DriverState = LOWPOWER_MODE_ENTER;
Expand Down Expand Up @@ -1412,7 +1412,7 @@ static void HandleShutDownModeRequest(struct bcm_mini_adapter *Adapter, PUCHAR p
}

SendShutModeResponse(Adapter);
BCM_DEBUG_PRINT (Adapter, DBG_TYPE_OTHERS, MP_SHUTDOWN, DBG_LVL_ALL, "ShutDownModeResponse:Notification received: Sending the response(Ack/Nack)\n");
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, MP_SHUTDOWN, DBG_LVL_ALL, "ShutDownModeResponse:Notification received: Sending the response(Ack/Nack)\n");
}

BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, MP_SHUTDOWN, DBG_LVL_ALL, "<====\n");
Expand Down Expand Up @@ -1498,7 +1498,7 @@ void update_per_cid_rx(struct bcm_mini_adapter *Adapter)

void update_per_sf_desc_cnts(struct bcm_mini_adapter *Adapter)
{
INT iIndex = 0;
int iIndex = 0;
u32 uibuff[MAX_TARGET_DSX_BUFFERS];
int bytes;

Expand Down

0 comments on commit 400992a

Please sign in to comment.