-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 126563 b: refs/heads/master c: deee7c8 h: refs/heads/master i: 126561: af90e2c 126559: b43ab87 v: v3
- Loading branch information
Pekka Enberg
authored and
Greg Kroah-Hartman
committed
Jan 6, 2009
1 parent
351181e
commit bbb1076
Showing
11 changed files
with
409 additions
and
440 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: a36e0894bf5e24b2b0660ac3b2891f6e49b46edd | ||
refs/heads/master: deee7c8164e62690aefefb3503bc4c4672b3e020 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,27 @@ | ||
#include "os_common.h" | ||
|
||
void vRxTimerInit(struct wb35_adapter * adapter) | ||
static void RxTimerHandler(unsigned long data) | ||
{ | ||
OS_TIMER_INITIAL(&(adapter->Mds.nTimer), (void*) RxTimerHandler, (void*) adapter); | ||
WARN_ON(1); | ||
} | ||
|
||
void vRxTimerStart(struct wb35_adapter * adapter, int timeout_value) | ||
void vRxTimerInit(struct wb35_adapter *adapter) | ||
{ | ||
if (timeout_value<MIN_TIMEOUT_VAL) | ||
timeout_value=MIN_TIMEOUT_VAL; | ||
|
||
OS_TIMER_SET( &(adapter->Mds.nTimer), timeout_value ); | ||
init_timer(&adapter->Mds.timer); | ||
adapter->Mds.timer.function = RxTimerHandler; | ||
adapter->Mds.timer.data = (unsigned long) adapter; | ||
} | ||
|
||
void vRxTimerStop(struct wb35_adapter * adapter) | ||
void vRxTimerStart(struct wb35_adapter *adapter, int timeout_value) | ||
{ | ||
OS_TIMER_CANCEL( &(adapter->Mds.nTimer), 0 ); | ||
} | ||
if (timeout_value < MIN_TIMEOUT_VAL) | ||
timeout_value = MIN_TIMEOUT_VAL; | ||
|
||
void RxTimerHandler_1a( struct wb35_adapter * adapter) | ||
{ | ||
RxTimerHandler(NULL, adapter, NULL, NULL); | ||
adapter->Mds.timer.expires = jiffies + msecs_to_jiffies(timeout_value); | ||
add_timer(&adapter->Mds.timer); | ||
} | ||
|
||
void RxTimerHandler(void* SystemSpecific1, struct wb35_adapter * adapter, | ||
void* SystemSpecific2, void* SystemSpecific3) | ||
void vRxTimerStop(struct wb35_adapter *adapter) | ||
{ | ||
WARN_ON(1); | ||
del_timer_sync(&adapter->Mds.timer); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.