1 /* $NetBSD: rf_options.c,v 1.7 2005/12/11 12:23:37 christos Exp $ */
6 * Copyright (c) 1996 Carnegie-Mellon University.
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 #include <sys/cdefs.h>
33 __KERNEL_RCSID(0, "$NetBSD: rf_options.c,v 1.7 2005/12/11 12:23:37 christos Exp $");
35 #include <dev/raidframe/raidframevar.h>
37 #include "rf_threadstuff.h"
39 #include "rf_general.h"
40 #include "rf_options.h"
44 #endif /* RF_DBG_OPTION */
47 #define RF_DBG_OPTION(_option_,_defval_) long rf_##_option_ = _defval_;
49 #define RF_DBG_OPTION(_option_,_defval_) long rf_/**/_option_ = _defval_;
52 #include "rf_optnames.h"
57 #define RF_DBG_OPTION(_option_,_defval_) { RF_STRING(_option_), &rf_##_option_ },
59 #define RF_DBG_OPTION(_option_,_defval_) { RF_STRING(_option_), &rf_/**/_option_ },
62 RF_DebugName_t rf_debugNames
[] = {
63 #include "rf_optnames.h"
69 #define RF_DBG_OPTION(_option_,_defval_) rf_##_option_ = _defval_ ;
71 #define RF_DBG_OPTION(_option_,_defval_) rf_/**/_option_ = _defval_ ;
75 rf_ResetDebugOptions(void)
77 #include "rf_optnames.h"