This is the first section containing lines that are not in the GENERIC kernel. To include sound card support, you'll have to copy the appropriate lines from the LINT kernel (which contains support for every device) as follows:
Generic sound driver code.
Required for all of the following sound cards
except pca
.
ProAudioSpectrum digital audio and MIDI.
SoundBlaster digital audio.
Note: If your Soundblaster is on a different IRQ (such as 5), changeirq 7
to, for example,irq 5
and remove theconflicts
keyword. Also, you must add the line:options ``SBC_IRQ=5''
SoundBlaster 16 digital 16-bit audio.
Note: If your SB16 is on a different 16-bit DMA channel (such as 6 or 7), change thedrq 5
keyword appropriately, and then add the line:options "SB16_DMA=6"
SoundBlaster 16 MIDI interface. If you have a SoundBlaster 16, you must include this line, or the kernel will not compile.
Gravis Ultrasound.
Microsoft Sound System.
AdLib FM-synthesis audio. Include this line for
AdLib, SoundBlaster, and ProAudioSpectrum users, if
you want to play MIDI songs with a program such as
playmidi
(in the ports collection).
Roland MPU-401 stand-alone card.
Stand-alone 6850 UART for MIDI.
Digital audio through PC speaker. This is going to be very poor sound quality and quite CPU-intensive, so you have been warned (but it does not require a sound card).
Note: There is some additional
documentation in
/usr/src/sys/i386/isa/sound/sound.doc
.
Also, if you add any of these devices, be sure to
create the sound
device nodes
.