Skip to contentSkip to conversation

sis7019: support the SiS 7019 Audio Accelerator

PATCH Applied Dave Dillow 2 participants 3 messages Dec 14, 2007

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/2 sis7019: support the SiS 7019 Audio Accelerator

Basic audio support for the SiS 7019 Audio Accelerator as found in the SiS 55x SoC. There is currently no synth support at the moment, but audio playback and capture with two periods per buffer has seen extensive use. Arbitrary period and buffer sizes (with multiple periods per buffer) have seen light testing, but are believed to be production ready.

---
This is against the alsa-kernel hg repo.

Expect surround sound and S/PDIF support soon. I plan on doing that as a separate patch, as that gives a bisection point for bug-hunting. I'm not tied to that, though.

Changes since last posting:
* Fix the use of the capture timing channel (multiple periods per buffer)
* Fix checkpatch warnings
* Remove space from the name

 pci/sis7019.c   | 1461 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 pci/sis7019.h   |  342 +++++++++++++
 pci/Kconfig     |   10 
 pci/Makefile    |    2 
 4 files changed, 1815 insertions(+)
pci/Kconfig +10 -0
diff -r eb09731e73d7 pci/Kconfig
@@ -802,6 +802,16 @@ config SND_RME9652
 	  To compile this driver as a module, choose M here: the module
 	  will be called snd-rme9652.
 
+config SND_SIS7019
+	tristate "SiS 7019 Audio Accelerator"
+	depends on SND && X86 && !X86_64
+	select SND_AC97_CODEC
+	help
+	  Say Y here to include support for the SiS 7019 Audio Accelerator.
+
+	  To compile this driver as a module, choose M here: the module
+	  will be called snd-sis7019.
+
 config SND_SONICVIBES
 	tristate "S3 SonicVibes"
 	depends on SND
pci/Makefile +2 -0
diff -r eb09731e73d7 pci/Makefile
@@ -23,6 +23,7 @@ snd-maestro3-objs := maestro3.o
 snd-maestro3-objs := maestro3.o
 snd-rme32-objs := rme32.o
 snd-rme96-objs := rme96.o
+snd-sis7019-objs := sis7019.o
 snd-sonicvibes-objs := sonicvibes.o
 snd-via82xx-objs := via82xx.o
 snd-via82xx-modem-objs := via82xx_modem.o
@@ -48,6 +49,7 @@ obj-$(CONFIG_SND_MAESTRO3) += snd-maestr
 obj-$(CONFIG_SND_MAESTRO3) += snd-maestro3.o
 obj-$(CONFIG_SND_RME32) += snd-rme32.o
 obj-$(CONFIG_SND_RME96) += snd-rme96.o
+obj-$(CONFIG_SND_SIS7019) += snd-sis7019.o
 obj-$(CONFIG_SND_SONICVIBES) += snd-sonicvibes.o
 obj-$(CONFIG_SND_VIA82XX) += snd-via82xx.o
 obj-$(CONFIG_SND_VIA82XX_MODEM) += snd-via82xx-modem.o
pci/sis7019.c new file +1461 -0

1,461 lines not on this page · raw message

pci/sis7019.h new file +342 -0

342 lines not on this page · raw message

Applied
#1 lore raw

At Thu, 13 Dec 2007 23:06:38 -0500,

Quoted 9 lines · Dave Dillow

Basic audio support for the SiS 7019 Audio Accelerator as found in the SiS 55x SoC. There is currently no synth support at the moment, but audio playback and capture with two periods per buffer has seen extensive use. Arbitrary period and buffer sizes (with multiple periods per buffer) have seen light testing, but are believed to be production ready.

Applied both patches now to ALSA HG tree.
Let's fix remaining bugs based on HG tree ;)

Thanks,

Takashi

#2 lore raw
Quoted 2 lines · Takashi Iwai

Applied both patches now to ALSA HG tree.
Let's fix remaining bugs based on HG tree ;)

Sounds good to me.

Thanks,
Dave