Remove GPLed fpemulation, old rp, old awe and pcic.
[dragonfly.git] / sys / i386 / isa / sound / local.h
1 /*
2  * local.h
3  *
4  * This file was generated by configure. But then HAND-EDITED. It will
5  * probably disappear in future revisions once the configuration process
6  * will become more like that of standard bsd code.
7  * lr 970714
8  *
9  * $DragonFly: src/sys/i386/isa/sound/Attic/local.h,v 1.3 2005/01/31 23:44:35 joerg Exp $
10  */
11
12 /* build hex2hex /tmp/foo.x trix_boot.h trix_boot */
13
14 /*
15  * make everything conditioned on NSND>0 so as to detect errors
16  * because of missing "controller snd0" statement
17  */
18 #define ALLOW_BUFFER_MAPPING 1
19
20 #include "use_snd.h"
21 #if NSND > 0
22
23 #include "opt_sound.h"
24
25 #define CONFIGURE_SOUNDCARD
26
27 #define CONFIG_SEQUENCER
28
29 #include "use_gus.h"
30 #if NGUS != 0 && !defined(CONFIG_GUS)
31 #define CONFIG_GUS
32 #define CONFIG_GUSMAX
33 #endif
34
35 #include "use_sscape.h"
36 #if NSSCAPE != 0 && !defined(CONFIG_SSCAPE)
37 #define CONFIG_SSCAPE
38 #endif
39
40 #include "use_trix.h"
41 #if NTRIX > 0
42 #define INCLUDE_TRIX_BOOT
43 #define CONFIG_TRIX     /* can use NTRIX > 0 instead */
44 #define CONFIG_YM3812
45 #endif
46
47 #if defined(CONFIG_GUSMAX) || ( NSSCAPE > 0 ) || ( NTRIX > 0 )
48 #define CONFIG_AD1848
49 #endif
50
51 #if  defined(CONFIG_SEQUENCER) && (NTRIX == 0)
52 #define CONFIG_MIDI
53 #endif
54
55 #include "use_sb.h"
56 #if NSB > 0
57 #define CONFIG_SB
58 #endif
59
60 #include "use_mss.h"
61 #if NMSS != 0
62 #define CONFIG_AD1848
63 #define CONFIG_MSS
64 #undef  CONFIG_CS4232
65 #endif
66
67 #include "use_css.h"
68 #if NCSS != 0
69 #define CONFIG_AD1848
70 #undef  CONFIG_MSS
71 #define CONFIG_CS4232
72 #endif
73
74 #include "use_sbxvi.h"
75 #if NSBXVI != 0 && !defined(CONFIG_SB16)
76 #define CONFIG_SB16
77 #define CONFIG_SBPRO                /*  FIXME: Also needs to be a sep option */
78 #endif
79
80 #include "use_sbmidi.h"
81 #if NSBMIDI != 0 && !defined(CONFIG_SB16MIDI)
82 #define CONFIG_SB16MIDI
83 #endif
84
85 #include "use_pas.h"
86 #if NPAS != 0 && !defined(CONFIG_PAS)
87 #define CONFIG_PAS
88 #endif
89
90 #include "use_mpu.h"
91 #if NMPU != 0 && !defined(CONFIG_MPU401)
92 #define CONFIG_MPU401
93 #endif
94  
95 #include "use_opl.h"
96 #if NOPL != 0 && !defined(CONFIG_YM3812)
97 #define CONFIG_YM3812
98 #endif
99
100 #ifdef PC98
101 #include "use_nss.h"
102 #if NNSS != 0
103 #define CONFIG_NSS
104 #endif
105 #endif
106
107 #define ALLOW_POLL
108
109 /* #undef  CONFIG_PAS */
110 /* #undef  CONFIG_ADLIB */
111 /* #define CONFIG_GUS */
112 /* #undef  CONFIG_MPU401 */
113 #undef  CONFIG_UART6850
114 #undef  CONFIG_PSS
115 #undef  CONFIG_GUS16
116 /* #undef  CONFIG_MSS */
117 /* #undef  CONFIG_SSCAPE */
118 #undef  CONFIG_MAD16
119 /* #undef  CONFIG_CS4232 */
120 #undef  CONFIG_MAUI
121 #undef  CONFIG_PNP
122 /* #undef  CONFIG_SBPRO */
123 /* #undef  CONFIG_SB16  */
124 #undef  CONFIG_AEDSP16
125 #define CONFIG_AUDIO    /* obvious ? */
126
127 #define CONFIG_MPU_EMU
128
129 #ifdef PC98
130 #define DSP_BUFFSIZE 61440
131 #else
132 #define DSP_BUFFSIZE 32768*2
133 #endif
134 /* #define SELECTED_SOUND_OPTIONS       0x0188090a */
135
136 #ifndef TRIX_SB_BASE
137 #define TRIX_SB_BASE 0x220
138 #endif
139
140 #ifndef TRIX_SB_IRQ
141 #define TRIX_SB_IRQ 7
142 #endif
143
144 #ifndef TRIX_SB_DMA
145 #define TRIX_SB_DMA 1
146 #endif
147
148 #ifndef TRIX_BASE
149 #define TRIX_BASE       0x530
150 #endif
151
152 #ifndef TRIX_IRQ
153 #define TRIX_IRQ        9
154 #endif
155
156 #ifndef TRIX_DMA
157 #define TRIX_DMA        3
158 #endif
159
160 #ifndef TRIX_DMA2
161 #define TRIX_DMA2       1
162 #endif
163
164 #ifndef GUS_BASE
165 #define GUS_BASE        0x220
166 #endif
167
168 #ifndef GUS_IRQ
169 #define GUS_IRQ         12
170 #endif
171
172 #ifndef GUS_MIDI_IRQ
173 #define GUS_MIDI_IRQ    GUS_IRQ
174 #endif
175
176 #ifndef GUS_DMA
177 #define GUS_DMA         4
178 #endif
179
180 #ifndef GUS_DMA2
181 #define GUS_DMA2        4
182 #endif
183
184 #define SOUND_CONFIG_DATE "Wed Aug  6 22:58:35 PDT 1997"
185 #define SOUND_CONFIG_BY "Amancio Hasty"
186 #define SOUND_CONFIG_HOST "rah"
187 #define SOUND_CONFIG_DOMAIN "star-gate.com"
188
189 #else   /* NSND = 0 */
190 #undef CONFIGURE_SOUNDCARD
191 #endif