First Support on Ginger and OMAP TI
[linux-ginger.git] / drivers / staging / vt6655 / country.h
blob2005d27686803348f56203cc8dad29442cdec849
1 /*
2 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
3 * All rights reserved.
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.
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.
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.
20 * File: country.h
22 * Purpose: Country Code information
24 * Author: Lucas Lin
26 * Date: Dec 23, 2004
30 #ifndef __COUNTRY_H__
31 #define __COUNTRY_H__
33 #include "ttype.h"
35 /*--------------------- Export Definitions -------------------------*/
36 /************************************************************************
37 * The definition here should be complied with the INF country order
38 * Please check with VNWL.inf/VNWL64.inf/VNWL*.inf
39 ************************************************************************/
40 typedef enum _COUNTRY_CODE {
41 CCODE_FCC = 0,
42 CCODE_TELEC,
43 CCODE_ETSI,
44 CCODE_RESV3,
45 CCODE_RESV4,
46 CCODE_RESV5,
47 CCODE_RESV6,
48 CCODE_RESV7,
49 CCODE_RESV8,
50 CCODE_RESV9,
51 CCODE_RESVa,
52 CCODE_RESVb,
53 CCODE_RESVc,
54 CCODE_RESVd,
55 CCODE_RESVe,
56 CCODE_ALLBAND,
57 CCODE_ALBANIA,
58 CCODE_ALGERIA,
59 CCODE_ARGENTINA,
60 CCODE_ARMENIA,
61 CCODE_AUSTRALIA,
62 CCODE_AUSTRIA,
63 CCODE_AZERBAIJAN,
64 CCODE_BAHRAIN,
65 CCODE_BELARUS,
66 CCODE_BELGIUM,
67 CCODE_BELIZE,
68 CCODE_BOLIVIA,
69 CCODE_BRAZIL,
70 CCODE_BRUNEI_DARUSSALAM,
71 CCODE_BULGARIA,
72 CCODE_CANADA,
73 CCODE_CHILE,
74 CCODE_CHINA,
75 CCODE_COLOMBIA,
76 CCODE_COSTA_RICA,
77 CCODE_CROATIA,
78 CCODE_CYPRUS,
79 CCODE_CZECH,
80 CCODE_DENMARK,
81 CCODE_DOMINICAN_REPUBLIC,
82 CCODE_ECUADOR,
83 CCODE_EGYPT,
84 CCODE_EL_SALVADOR,
85 CCODE_ESTONIA,
86 CCODE_FINLAND,
87 CCODE_FRANCE,
88 CCODE_GERMANY,
89 CCODE_GREECE,
90 CCODE_GEORGIA,
91 CCODE_GUATEMALA,
92 CCODE_HONDURAS,
93 CCODE_HONG_KONG,
94 CCODE_HUNGARY,
95 CCODE_ICELAND,
96 CCODE_INDIA,
97 CCODE_INDONESIA,
98 CCODE_IRAN,
99 CCODE_IRELAND,
100 CCODE_ITALY,
101 CCODE_ISRAEL,
102 CCODE_JAPAN,
103 CCODE_JORDAN,
104 CCODE_KAZAKHSTAN,
105 CCODE_KUWAIT,
106 CCODE_LATVIA,
107 CCODE_LEBANON,
108 CCODE_LEICHTENSTEIN,
109 CCODE_LITHUANIA,
110 CCODE_LUXEMBURG,
111 CCODE_MACAU,
112 CCODE_MACEDONIA,
113 CCODE_MALTA,
114 CCODE_MALAYSIA,
115 CCODE_MEXICO,
116 CCODE_MONACO,
117 CCODE_MOROCCO,
118 CCODE_NETHERLANDS,
119 CCODE_NEW_ZEALAND,
120 CCODE_NORTH_KOREA,
121 CCODE_NORWAY,
122 CCODE_OMAN,
123 CCODE_PAKISTAN,
124 CCODE_PANAMA,
125 CCODE_PERU,
126 CCODE_PHILIPPINES,
127 CCODE_POLAND,
128 CCODE_PORTUGAL,
129 CCODE_PUERTO_RICO,
130 CCODE_QATAR,
131 CCODE_ROMANIA,
132 CCODE_RUSSIA,
133 CCODE_SAUDI_ARABIA,
134 CCODE_SINGAPORE,
135 CCODE_SLOVAKIA,
136 CCODE_SLOVENIA,
137 CCODE_SOUTH_AFRICA,
138 CCODE_SOUTH_KOREA,
139 CCODE_SPAIN,
140 CCODE_SWEDEN,
141 CCODE_SWITZERLAND,
142 CCODE_SYRIA,
143 CCODE_TAIWAN,
144 CCODE_THAILAND,
145 CCODE_TRINIDAD_TOBAGO,
146 CCODE_TUNISIA,
147 CCODE_TURKEY,
148 CCODE_UK,
149 CCODE_UKRAINE,
150 CCODE_UNITED_ARAB_EMIRATES,
151 CCODE_UNITED_STATES,
152 CCODE_URUGUAY,
153 CCODE_UZBEKISTAN,
154 CCODE_VENEZUELA,
155 CCODE_VIETNAM,
156 CCODE_YEMEN,
157 CCODE_ZIMBABWE,
158 CCODE_JAPAN_W52_W53,
159 CCODE_MAX
160 } COUNTRY_CODE;
162 typedef struct tagSCountryTable
164 BYTE byChannelCountryCode; /* The country code */
165 CHAR chCountryCode[2];
166 BYTE bChannelIdxList[CB_MAX_CHANNEL]; /* Available channels Index */
167 BYTE byPower[CB_MAX_CHANNEL];
168 } SCountryTable, *PSCountryTable;
170 /*--------------------- Export Classes ----------------------------*/
172 /*--------------------- Export Variables --------------------------*/
173 extern SCountryTable ChannelRuleTab[CCODE_MAX+1];
175 /*--------------------- Export Functions --------------------------*/
177 #endif /* __COUNTRY_H__ */