Home | History | Annotate | Line # | Download | only in ic
      1  1.2  jmcneill /* $NetBSD: opt_ah.h,v 1.2 2011/02/20 03:55:18 jmcneill 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.2  jmcneill #ifdef _KERNEL_OPT
     32  1.1       alc #include "opt_athhal.h"
     33  1.2  jmcneill #endif
     34  1.1       alc 
     35  1.1       alc #ifdef ATHHAL_ASSERT
     36  1.1       alc #define AH_ASSERT		1
     37  1.1       alc #endif
     38  1.1       alc 
     39  1.1       alc #ifdef ATHHAL_DEBUG
     40  1.1       alc #define AH_DEBUG		1
     41  1.1       alc #endif
     42  1.1       alc 
     43  1.1       alc #ifdef ATHHAL_DEBUG_ALQ
     44  1.1       alc #define AH_DEBUG_ALQ		1
     45  1.1       alc #endif
     46  1.1       alc 
     47  1.1       alc #ifdef ATHHAL_AR5210
     48  1.1       alc #define AH_SUPPORT_5210		1
     49  1.1       alc #endif
     50  1.1       alc 
     51  1.1       alc #ifdef ATHHAL_AR5211
     52  1.1       alc #define AH_SUPPORT_5211		1
     53  1.1       alc #endif
     54  1.1       alc 
     55  1.1       alc #ifdef ATHHAL_AR5212
     56  1.1       alc #define AH_SUPPORT_5212		1
     57  1.1       alc #endif
     58  1.1       alc 
     59  1.1       alc #ifdef ATHHAL_AR5311
     60  1.1       alc #define AH_SUPPORT_5311		1
     61  1.1       alc #endif
     62  1.1       alc 
     63  1.1       alc #ifdef ATHHAL_AR5312
     64  1.1       alc #define AH_SUPPORT_AR5312	1
     65  1.1       alc #endif
     66  1.1       alc 
     67  1.1       alc #ifdef ATHHAL_AR2316
     68  1.1       alc #define AH_SUPPORT_2316		1
     69  1.1       alc #endif
     70  1.1       alc 
     71  1.1       alc #ifdef ATHHAL_AR2317
     72  1.1       alc #define AH_SUPPORT_2317		1
     73  1.1       alc #endif
     74  1.1       alc 
     75  1.1       alc #ifdef ATHHAL_AR5416
     76  1.1       alc #define AH_SUPPORT_AR5416	1
     77  1.1       alc #endif
     78  1.1       alc 
     79  1.1       alc #ifdef ATHHAL_AR9280
     80  1.1       alc #define AH_SUPPORT_AR9280	1
     81  1.1       alc #endif
     82  1.1       alc 
     83  1.1       alc #if defined(ATHHAL_RF2316) || \
     84  1.1       alc 	defined(ATHHAL_RF2317) || \
     85  1.1       alc 	defined(ATHHAL_RF2413) || \
     86  1.1       alc 	defined(ATHHAL_RF2425) || \
     87  1.1       alc 	defined(ATHHAL_RF5111) || \
     88  1.1       alc 	defined(ATHHAL_RF5112) || \
     89  1.1       alc 	defined(ATHHAL_RF5413)
     90  1.1       alc #define AH_HAS_RF
     91  1.1       alc #endif
     92  1.1       alc 
     93  1.1       alc #endif /* OPT_AH_H */
     94