Staging: Add pristine upstream vt6656 driver sources to drivers/staging/vt6656.
[safe/jmp/linux-2.6] / drivers / staging / vt6656 / int.h
1 /*
2  * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
3  * All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  *
19  *
20  * File: int.h
21  *
22  * Purpose:
23  *
24  * Author: Jerry Chen
25  *
26  * Date: Apr. 2, 2004
27  *
28  */
29
30
31 #ifndef __INT_H__
32 #define __INT_H__
33
34 #if !defined(__TTYPE_H__)
35 #include "ttype.h"
36 #endif
37 #if !defined(__DEVICE_H__)
38 #include "device.h"
39 #endif
40
41
42
43 /*---------------------  Export Definitions -------------------------*/
44 #pragma pack(1)
45 typedef struct tagSINTData {
46     BYTE    byTSR0;
47     BYTE    byPkt0;
48     WORD    wTime0;
49     BYTE    byTSR1;
50     BYTE    byPkt1;
51     WORD    wTime1;
52     BYTE    byTSR2;
53     BYTE    byPkt2;
54     WORD    wTime2;
55     BYTE    byTSR3;
56     BYTE    byPkt3;
57     WORD    wTime3;
58     DWORD   dwLoTSF;
59     DWORD   dwHiTSF;
60     BYTE    byISR0;
61     BYTE    byISR1;
62     BYTE    byRTSSuccess;
63     BYTE    byRTSFail;
64     BYTE    byACKFail;
65     BYTE    byFCSErr;
66     BYTE    abySW[2];
67 }__attribute__ ((__packed__))
68 SINTData, DEF* PSINTData;
69
70
71 /*---------------------  Export Classes  ----------------------------*/
72
73 /*---------------------  Export Variables  --------------------------*/
74
75 /*---------------------  Export Functions  --------------------------*/
76 #ifdef __cplusplus
77 extern "C" {                            /* Assume C declarations for C++ */
78 #endif /* __cplusplus */
79
80 VOID
81 INTvWorkItem(
82     PVOID Context
83     );
84
85 NTSTATUS
86 INTnsProcessData(
87     IN  PSDevice pDevice
88     );
89
90
91 #ifdef __cplusplus
92 }                                       /* End of extern "C" { */
93 #endif /* __cplusplus */
94
95
96
97
98 #endif // __INT_H__
99
100
101