Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / dev / raidframe / rf_options.h
blobea511336afb2314b22be01967314691923c9b4e8
1 /* $NetBSD: rf_options.h,v 1.3.42.1 2005/11/10 14:07:40 skrll Exp $ */
2 /*
3 * rf_options.h
4 */
5 /*
6 * Copyright (c) 1996 Carnegie-Mellon University.
7 * All rights reserved.
9 * Author: Jim Zelenka
11 * Permission to use, copy, modify and distribute this software and
12 * its documentation is hereby granted, provided that both the copyright
13 * notice and this permission notice appear in all copies of the
14 * software, derivative works or modified versions, and any portions
15 * thereof, and that both notices appear in supporting documentation.
17 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
18 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
19 * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
21 * Carnegie Mellon requests users of this software to return to
23 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
24 * School of Computer Science
25 * Carnegie Mellon University
26 * Pittsburgh PA 15213-3890
28 * any improvements or extensions that they make and grant Carnegie the
29 * rights to redistribute these changes.
32 #ifndef _RF__RF_OPTIONS_H_
33 #define _RF__RF_OPTIONS_H_
35 #define RF_DEFAULT_LOCK_TABLE_SIZE 256
37 typedef struct RF_DebugNames_s {
38 const char *name;
39 long *ptr;
40 } RF_DebugName_t;
42 extern RF_DebugName_t rf_debugNames[];
44 #ifdef RF_DBG_OPTION
45 #undef RF_DBG_OPTION
46 #endif /* RF_DBG_OPTION */
48 #ifdef __STDC__
49 #define RF_DBG_OPTION(_option_,_defval_) extern long rf_##_option_;
50 #else /* __STDC__ */
51 #define RF_DBG_OPTION(_option_,_defval_) extern long rf_/**/_option_;
52 #endif /* __STDC__ */
53 #include "rf_optnames.h"
55 void rf_ResetDebugOptions(void);
57 #endif /* !_RF__RF_OPTIONS_H_ */