Linux 2.6.33.13
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / staging / rt2860 / rtmp_type.h
blobd9bb2d64c8b8b3424b99f8ec0eee9ed718029c7e
1 /*
2 *************************************************************************
3 * Ralink Tech Inc.
4 * 5F., No.36, Taiyuan St., Jhubei City,
5 * Hsinchu County 302,
6 * Taiwan, R.O.C.
8 * (c) Copyright 2002-2007, Ralink Technology, Inc.
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 * This program is distributed in the hope that it will be useful, *
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
18 * GNU General Public License for more details. *
19 * *
20 * You should have received a copy of the GNU General Public License *
21 * along with this program; if not, write to the *
22 * Free Software Foundation, Inc., *
23 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
24 * *
25 *************************************************************************
27 Module Name:
28 rtmp_type.h
30 Abstract:
32 Revision History:
33 Who When What
34 -------- ---------- ----------------------------------------------
35 Name Date Modification logs
36 Paul Lin 1-2-2004
38 #ifndef __RTMP_TYPE_H__
39 #define __RTMP_TYPE_H__
41 #include <linux/types.h>
43 #define PACKED __attribute__ ((packed))
45 typedef unsigned char BOOLEAN;
47 typedef union _LARGE_INTEGER {
48 struct {
49 u32 LowPart;
50 int HighPart;
51 } u;
52 long long QuadPart;
53 } LARGE_INTEGER;
55 /* */
56 /* Register set pair for initialzation register set definition */
57 /* */
58 struct rt_rtmp_reg_pair {
59 unsigned long Register;
60 unsigned long Value;
63 struct rt_reg_pair {
64 u8 Register;
65 u8 Value;
68 /* */
69 /* Register set pair for initialzation register set definition */
70 /* */
71 struct rt_rtmp_rf_regs {
72 u8 Channel;
73 unsigned long R1;
74 unsigned long R2;
75 unsigned long R3;
76 unsigned long R4;
79 struct rt_frequency_item {
80 u8 Channel;
81 u8 N;
82 u8 R;
83 u8 K;
86 #define STATUS_SUCCESS 0x00
87 #define STATUS_UNSUCCESSFUL 0x01
89 #endif /* __RTMP_TYPE_H__ // */