Echoaudio: add support for Indigo express cards
PATCH 1/3 Echoaudio: add support for Indigo express cards
This patch adds support for IndigoIOx and IndigoDJx. (alsa-kernel part)
Signed-off-by Giuliano Pochini <[email protected]>
sound/pci/echoaudio/echoaudio_dsp.h renamed from alsa-kernel/pci/echoaudio/echoaudio_dsp.h +7 -2
@@ -576,8 +576,13 @@ SET_LAYLA24_FREQUENCY_REG command.#define E3G_ASIC_NOT_LOADED 0xffff#define E3G_BOX_TYPE_MASK 0xf0 -#define EXT_3GBOX_NC 0x01 -#define EXT_3GBOX_NOT_SET 0x02 +/* Indigo express control register values */ +#define INDIGO_EXPRESS_32000 0x02 +#define INDIGO_EXPRESS_44100 0x01 +#define INDIGO_EXPRESS_48000 0x00 +#define INDIGO_EXPRESS_DOUBLE_SPEED 0x10 +#define INDIGO_EXPRESS_QUAD_SPEED 0x04 +#define INDIGO_EXPRESS_CLOCK_MASK 0x17/*
sound/pci/echoaudio/echoaudio.h renamed from alsa-kernel/pci/echoaudio/echoaudio.h +3 -0
@@ -189,6 +189,9 @@#define INDIGO 0x0090#define INDIGO_IO 0x00a0#define INDIGO_DJ 0x00b0 +#define DC8 0x00c0 +#define INDIGO_IOX 0x00d0 +#define INDIGO_DJX 0x00e0#define ECHO3G 0x0100
sound/pci/echoaudio/indigodjx.c renamed from alsa-kernel/pci/echoaudio/indigodjx.c +107 -0
107 lines not on this page · raw message
sound/pci/echoaudio/indigodjx_dsp.c renamed from alsa-kernel/pci/echoaudio/indigodjx_dsp.c +68 -0
68 lines not on this page · raw message
sound/pci/echoaudio/indigo_express_dsp.c renamed from alsa-kernel/pci/echoaudio/indigo_express_dsp.c +119 -0
119 lines not on this page · raw message
sound/pci/echoaudio/indigoiox.c renamed from alsa-kernel/pci/echoaudio/indigoiox.c +109 -0
109 lines not on this page · raw message
sound/pci/echoaudio/indigoiox_dsp.c renamed from alsa-kernel/pci/echoaudio/indigoiox_dsp.c +68 -0
68 lines not on this page · raw message
sound/pci/echoaudio/Makefile renamed from alsa-kernel/pci/echoaudio/Makefile +4 -0
@@ -15,6 +15,8 @@ snd-echo3g-objs := echo3g.o snd-indigo-objs := indigo.o snd-indigoio-objs := indigoio.o snd-indigodj-objs := indigodj.o +snd-indigoiox-objs := indigoiox.o +snd-indigodjx-objs := indigodjx.o obj-$(CONFIG_SND_DARLA20) += snd-darla20.o obj-$(CONFIG_SND_GINA20) += snd-gina20.o
@@ -28,3 +30,5 @@ obj-$(CONFIG_SND_ECHO3G) += snd-echo3g.o obj-$(CONFIG_SND_INDIGO) += snd-indigo.o obj-$(CONFIG_SND_INDIGOIO) += snd-indigoio.o obj-$(CONFIG_SND_INDIGODJ) += snd-indigodj.o +obj-$(CONFIG_SND_INDIGOIOX) += snd-indigoiox.o +obj-$(CONFIG_SND_INDIGODJX) += snd-indigodjx.o
sound/pci/Kconfig renamed from alsa-kernel/pci/Kconfig +20 -0
@@ -400,6 +400,26 @@ config SND_INDIGODJ To compile this driver as a module, choose M here: the module will be called snd-indigodj +config SND_INDIGOIOX + tristate "(Echoaudio) Indigo IOx" + select FW_LOADER + select SND_PCM + help + Say 'Y' or 'M' to include support for Echoaudio Indigo IOx. + + To compile this driver as a module, choose M here: the module + will be called snd-indigoiox + +config SND_INDIGODJX + tristate "(Echoaudio) Indigo DJx" + select FW_LOADER + select SND_PCM + help + Say 'Y' or 'M' to include support for Echoaudio Indigo DJx. + + To compile this driver as a module, choose M here: the module + will be called snd-indigodjx + config SND_EMU10K1 tristate "Emu10k1 (SB Live!, Audigy, E-mu APS)" select FW_LOADER
--
Giuliano.