[NETLINK]: w1_int.c: fix default netlink group
[linux-2.6/verdex.git] / arch / m68k / atari / atasound.h
blob1362762b8c0f6152655b11b4a89d1b0a7cdf307f
1 /*
2 * Minor numbers for the sound driver.
4 * Unfortunately Creative called the codec chip of SB as a DSP. For this
5 * reason the /dev/dsp is reserved for digitized audio use. There is a
6 * device for true DSP processors but it will be called something else.
7 * In v3.0 it's /dev/sndproc but this could be a temporary solution.
8 */
10 #define SND_NDEVS 256 /* Number of supported devices */
11 #define SND_DEV_CTL 0 /* Control port /dev/mixer */
12 #define SND_DEV_SEQ 1 /* Sequencer output /dev/sequencer (FM
13 synthesizer and MIDI output) */
14 #define SND_DEV_MIDIN 2 /* Raw midi access */
15 #define SND_DEV_DSP 3 /* Digitized voice /dev/dsp */
16 #define SND_DEV_AUDIO 4 /* Sparc compatible /dev/audio */
17 #define SND_DEV_DSP16 5 /* Like /dev/dsp but 16 bits/sample */
18 #define SND_DEV_STATUS 6 /* /dev/sndstat */
19 /* #7 not in use now. Was in 2.4. Free for use after v3.0. */
20 #define SND_DEV_SEQ2 8 /* /dev/sequencer, level 2 interface */
21 #define SND_DEV_SNDPROC 9 /* /dev/sndproc for programmable devices */
22 #define SND_DEV_PSS SND_DEV_SNDPROC
24 #define DSP_DEFAULT_SPEED 8000
26 #define ON 1
27 #define OFF 0
29 #define MAX_AUDIO_DEV 5
30 #define MAX_MIXER_DEV 2
31 #define MAX_SYNTH_DEV 3
32 #define MAX_MIDI_DEV 6
33 #define MAX_TIMER_DEV 3