Commit 00a409b
committed
sound/pci: Enable MIDI code in emu10kx.
NOTE: this depends on pull requests freebsd#1905 and freebsd#1892.
MIDI code in emu10kx driver was disabled due to possible locking problems
in MIDI core, which should have been corrected by freebsd#1905.
Here, we also fixed that the card interrupts were enabled too early and
disabled too late.
This was tested under FreeBSD 15.0 using a SoundBlaster Audigy
(chipset CA0100, I will also try one Audigy2).
Signed-off-by: Nicolas Provost <dev@nicolas-provost.fr>1 parent 57c0a33 commit 00a409b
2 files changed
+7
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | | - | |
| 176 | + | |
178 | 177 | | |
179 | 178 | | |
180 | 179 | | |
181 | 180 | | |
182 | 181 | | |
183 | 182 | | |
184 | | - | |
185 | | - | |
| 183 | + | |
186 | 184 | | |
187 | 185 | | |
188 | 186 | | |
189 | 187 | | |
190 | 188 | | |
191 | | - | |
192 | | - | |
| 189 | + | |
193 | 190 | | |
194 | 191 | | |
195 | 192 | | |
196 | 193 | | |
197 | 194 | | |
198 | 195 | | |
199 | | - | |
200 | 196 | | |
201 | 197 | | |
202 | 198 | | |
203 | 199 | | |
204 | 200 | | |
205 | 201 | | |
206 | 202 | | |
| 203 | + | |
207 | 204 | | |
208 | 205 | | |
209 | 206 | | |
| |||
225 | 222 | | |
226 | 223 | | |
227 | 224 | | |
228 | | - | |
229 | 225 | | |
| 226 | + | |
230 | 227 | | |
231 | 228 | | |
232 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3007 | 3007 | | |
3008 | 3008 | | |
3009 | 3009 | | |
3010 | | - | |
3011 | 3010 | | |
3012 | | - | |
| 3011 | + | |
3013 | 3012 | | |
3014 | 3013 | | |
3015 | 3014 | | |
| |||
3283 | 3282 | | |
3284 | 3283 | | |
3285 | 3284 | | |
3286 | | - | |
3287 | | - | |
3288 | 3285 | | |
3289 | 3286 | | |
3290 | 3287 | | |
| |||
3295 | 3292 | | |
3296 | 3293 | | |
3297 | 3294 | | |
3298 | | - | |
| 3295 | + | |
3299 | 3296 | | |
3300 | 3297 | | |
3301 | 3298 | | |
| |||
3317 | 3314 | | |
3318 | 3315 | | |
3319 | 3316 | | |
3320 | | - | |
3321 | 3317 | | |
3322 | 3318 | | |
3323 | 3319 | | |
| |||
0 commit comments