opt_ah.h revision 1.1 1 1.1 alc /* $NetBSD: opt_ah.h,v 1.1 2008/12/11 05:37:40 alc Exp $ */
2 1.1 alc
3 1.1 alc /*-
4 1.1 alc * Copyright (c) 2008 The NetBSD Foundation, Inc.
5 1.1 alc * All rights reserved.
6 1.1 alc *
7 1.1 alc * Redistribution and use in source and binary forms, with or without
8 1.1 alc * modification, are permitted provided that the following conditions
9 1.1 alc * are met:
10 1.1 alc * 1. Redistributions of source code must retain the above copyright
11 1.1 alc * notice, this list of conditions and the following disclaimer.
12 1.1 alc * 2. Redistributions in binary form must reproduce the above copyright
13 1.1 alc * notice, this list of conditions and the following disclaimer in the
14 1.1 alc * documentation and/or other materials provided with the distribution.
15 1.1 alc *
16 1.1 alc * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
17 1.1 alc * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
18 1.1 alc * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19 1.1 alc * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
20 1.1 alc * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21 1.1 alc * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22 1.1 alc * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 1.1 alc * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24 1.1 alc * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 1.1 alc * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 1.1 alc * POSSIBILITY OF SUCH DAMAGE.
27 1.1 alc */
28 1.1 alc #ifndef OPT_AH_H
29 1.1 alc #define OPT_AH_H
30 1.1 alc
31 1.1 alc #include "opt_athhal.h"
32 1.1 alc
33 1.1 alc #ifdef ATHHAL_ASSERT
34 1.1 alc #define AH_ASSERT 1
35 1.1 alc #endif
36 1.1 alc
37 1.1 alc #ifdef ATHHAL_DEBUG
38 1.1 alc #define AH_DEBUG 1
39 1.1 alc #endif
40 1.1 alc
41 1.1 alc #ifdef ATHHAL_DEBUG_ALQ
42 1.1 alc #define AH_DEBUG_ALQ 1
43 1.1 alc #endif
44 1.1 alc
45 1.1 alc #ifdef ATHHAL_AR5210
46 1.1 alc #define AH_SUPPORT_5210 1
47 1.1 alc #endif
48 1.1 alc
49 1.1 alc #ifdef ATHHAL_AR5211
50 1.1 alc #define AH_SUPPORT_5211 1
51 1.1 alc #endif
52 1.1 alc
53 1.1 alc #ifdef ATHHAL_AR5212
54 1.1 alc #define AH_SUPPORT_5212 1
55 1.1 alc #endif
56 1.1 alc
57 1.1 alc #ifdef ATHHAL_AR5311
58 1.1 alc #define AH_SUPPORT_5311 1
59 1.1 alc #endif
60 1.1 alc
61 1.1 alc #ifdef ATHHAL_AR5312
62 1.1 alc #define AH_SUPPORT_AR5312 1
63 1.1 alc #endif
64 1.1 alc
65 1.1 alc #ifdef ATHHAL_AR2316
66 1.1 alc #define AH_SUPPORT_2316 1
67 1.1 alc #endif
68 1.1 alc
69 1.1 alc #ifdef ATHHAL_AR2317
70 1.1 alc #define AH_SUPPORT_2317 1
71 1.1 alc #endif
72 1.1 alc
73 1.1 alc #ifdef ATHHAL_AR5416
74 1.1 alc #define AH_SUPPORT_AR5416 1
75 1.1 alc #endif
76 1.1 alc
77 1.1 alc #ifdef ATHHAL_AR9280
78 1.1 alc #define AH_SUPPORT_AR9280 1
79 1.1 alc #endif
80 1.1 alc
81 1.1 alc #if defined(ATHHAL_RF2316) || \
82 1.1 alc defined(ATHHAL_RF2317) || \
83 1.1 alc defined(ATHHAL_RF2413) || \
84 1.1 alc defined(ATHHAL_RF2425) || \
85 1.1 alc defined(ATHHAL_RF5111) || \
86 1.1 alc defined(ATHHAL_RF5112) || \
87 1.1 alc defined(ATHHAL_RF5413)
88 1.1 alc #define AH_HAS_RF
89 1.1 alc #endif
90 1.1 alc
91 1.1 alc #endif /* OPT_AH_H */
92