]> bbs.cooldavid.org Git - net-next-2.6.git/blob - drivers/staging/wlags49_h2/dhfcfg.h
Staging: wlags49_h2: add Agere driver for HERMES II and HERMES II.5 chipsets
[net-next-2.6.git] / drivers / staging / wlags49_h2 / dhfcfg.h
1 /*******************************************************************************
2  * Agere Systems Inc.
3  * Wireless device driver for Linux (wlags49).
4  *
5  * Copyright (c) 1998-2003 Agere Systems Inc.
6  * All rights reserved.
7  *   http://www.agere.com
8  *
9  * Initially developed by TriplePoint, Inc.
10  *   http://www.triplepoint.com
11  *
12  *------------------------------------------------------------------------------
13  *
14  *   This file contains DHF configuration info.
15  *
16  *------------------------------------------------------------------------------
17  *
18  * SOFTWARE LICENSE
19  *
20  * This software is provided subject to the following terms and conditions,
21  * which you should read carefully before using the software.  Using this
22  * software indicates your acceptance of these terms and conditions.  If you do
23  * not agree with these terms and conditions, do not use the software.
24  *
25  * Copyright � 2003 Agere Systems Inc.
26  * All rights reserved.
27  *
28  * Redistribution and use in source or binary forms, with or without
29  * modifications, are permitted provided that the following conditions are met:
30  *
31  * . Redistributions of source code must retain the above copyright notice, this
32  *    list of conditions and the following Disclaimer as comments in the code as
33  *    well as in the documentation and/or other materials provided with the
34  *    distribution.
35  *
36  * . Redistributions in binary form must reproduce the above copyright notice,
37  *    this list of conditions and the following Disclaimer in the documentation
38  *    and/or other materials provided with the distribution.
39  *
40  * . Neither the name of Agere Systems Inc. nor the names of the contributors
41  *    may be used to endorse or promote products derived from this software
42  *    without specific prior written permission.
43  *
44  * Disclaimer
45  *
46  * THIS SOFTWARE IS PROVIDED �AS IS� AND ANY EXPRESS OR IMPLIED WARRANTIES,
47  * INCLUDING, BUT NOT LIMITED TO, INFRINGEMENT AND THE IMPLIED WARRANTIES OF
48  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  ANY
49  * USE, MODIFICATION OR DISTRIBUTION OF THIS SOFTWARE IS SOLELY AT THE USERS OWN
50  * RISK. IN NO EVENT SHALL AGERE SYSTEMS INC. OR CONTRIBUTORS BE LIABLE FOR ANY
51  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
52  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
53  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
54  * ON ANY THEORY OF LIABILITY, INCLUDING, BUT NOT LIMITED TO, CONTRACT, STRICT
55  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
56  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
57  * DAMAGE.
58  *
59  ******************************************************************************/
60
61
62
63
64 /*******************************************************************************
65  * VERSION CONTROL INFORMATION
66  *******************************************************************************
67  *
68  * $Author: nico $
69  * $Date: 2004/07/19 07:08:33 $
70  * $Revision: 1.1.1.1 $
71  * $Source: /usr/local/cvs/wl_lkm/include/hcf/dhfcfg.h,v $
72  *
73  ******************************************************************************/
74
75
76
77
78 #ifndef DHFCFG_H
79 #define DHFCFG_H
80 /*-----------------------------------------------------------------------------
81  * File DHFCFG.H
82  *
83  * Contents: #defines for the DHF module
84  *
85  * Comments:
86  *   Some combinations of the #defines in this file are illegal (as noted below).
87  *   If an illegal combinations of #defines is specified a compile error is
88  *   generated. See document DHFUG.DOC for more information.
89  *
90  * Author: John Meertens
91  * Date:   11-01-2000
92  *
93  * Change history:
94  *---------------------------------------------------------------------------*/
95
96
97 // Define DHF_WCI if you want to use the WCI to access the ORiNOCO card.
98 // Define DHF_UIL if you want to use the UIL to access the ORiNOCO card.
99 // You must define either DHF_WCI or DHF_UIL. If neither of the two is defined
100 // or both a compile error is generated.
101 #define DHF_WCI
102 //!!!#define DHF_UIL
103
104 // Define DHF_BIG_ENDIAN if you are working on a big endian platform.
105 // Define DHF_LITTLE_ENDIAN if you are working on a little endian platform.
106 // You must define either DHF_BIG_ENDIAN or DHF_LITTLE_ENDIAN. If neither of
107 // the two is defined or both a compile error is generated.
108 #ifdef USE_BIG_ENDIAN
109 #define DHF_BIG_ENDIAN
110 #else
111 #define DHF_LITTLE_ENDIAN
112 #endif  /* USE_BIG_ENDIAN */
113
114 // Define DHF_WIN if you are working on Windows platform.
115 // Define DHF_DOS if you are working on DOS.
116 // You must define either DHF_WIN or DHF_DOS. If neither of
117 // the two is defined or both a compile error is generated.
118 //!!!#define DHF_WIN
119 //!!!#define DHF_DOS
120
121 // Define if you want the DHF to users. Not defining DHF_GET_RES_MSG
122 // leads to a decrease in code size as message strings are not included.
123 //!!!#define DHF_GET_RES_MSG
124
125 // Linux driver specific
126 // Prevent inclusion of stdlib.h and string.h
127 #define _INC_STDLIB
128 #define _INC_STRING
129
130 //-----------------------------------------------------------------------------
131 // Define one or more of the following DSF #defines if you want to implement
132 // the related DSF-function. Function dsf_callback must allways be implemented.
133 // See file DHF.H for prototypes of the functions.
134
135 // Define DSF_ALLOC if you want to manage memory allocation and de-allocation
136 // for the DHF. If DSF_ALLOC is defined you must implement dsf_alloc and dsf_free.
137 //!!!#define DSF_ALLOC
138
139 // Define DSF_CONFIRM if you want the DHF to ask the user for confirmation in a
140 // number of situations. If DSF_CONFIRM is defined you must implement dsf_confirm.
141 // Not defining DSF_CONFIRM leads to a decrease in code size as confirmation
142 // strings are not included.
143 //!!!#define DSF_CONFIRM
144
145 // Define DSF_DEBUG_MESSAGE if you want debug messages added to your output.
146 // If you define DSF_DEBUG_MESSAGE then you must implement function
147 // dsf_debug_message.
148 //#define DSF_DEBUG_MESSAGE
149
150 // Define DSF_ASSERT if you want asserts to be activated.
151 // If you define DSF_ASSERT then you must implement function dsf_assert.
152 //#define DBG 1
153 //#define DSF_ASSERT
154
155 // Define DSF_DBWIN if you want asserts and debug messages to be send to a debug
156 // window like SOFTICE or DebugView from SysInternals.
157 //!!!#define DSF_DBWIN
158 //!!! Not implemented yet!
159
160 // Define DSF_VOLATILE_ONLY if you only wants to use valatile functions
161 // This is a typical setting for a AP and a driver.
162 #define DSF_VOLATILE_ONLY
163
164 // Define DSF_HERMESII if you want to use the DHF for the Hermes-II
165 #ifdef HERMES2
166 #define DSF_HERMESII
167 #else
168 #undef DSF_HERMESII
169 #endif // HERMES2
170
171 // Define DSF_BINARY_FILE if you want to use the DHF in combination with
172 // reading the Firmware from a separate binary file.
173 //!!!#define DSF_BINARY_FILE
174
175 #endif // DHFCFG_H