Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux...
[linux-2.6] / drivers / staging / winbond / rxisr.c
1 #include "os_common.h"
2
3 void vRxTimerInit(PWB32_ADAPTER Adapter)
4 {
5         OS_TIMER_INITIAL(&(Adapter->Mds.nTimer), (void*) RxTimerHandler, (void*) Adapter);
6 }
7
8 void vRxTimerStart(PWB32_ADAPTER Adapter, int timeout_value)
9 {
10         if (timeout_value<MIN_TIMEOUT_VAL)
11                 timeout_value=MIN_TIMEOUT_VAL;
12
13         OS_TIMER_SET( &(Adapter->Mds.nTimer), timeout_value );
14 }
15
16 void vRxTimerStop(PWB32_ADAPTER Adapter)
17 {
18         OS_TIMER_CANCEL( &(Adapter->Mds.nTimer), 0 );
19 }
20
21 void RxTimerHandler_1a( PADAPTER Adapter)
22 {
23         RxTimerHandler(NULL, Adapter, NULL, NULL);
24 }
25
26 void RxTimerHandler(void* SystemSpecific1, PWB32_ADAPTER Adapter,
27                     void* SystemSpecific2, void* SystemSpecific3)
28 {
29         WARN_ON(1);
30 }