Skip to contentSkip to conversation

Intel SST Driver Config changes & makefile

RFC PATCH In review Vinod Koul 2 participants 2 messages Jul 3, 2009 Sound

lore
Share & tools
lore

Vinod Koul

author
#0 lore raw

RFC PATCH 13/13 Intel SST Driver Config changes & makefile

This patch adds the makefiles and Kconfig changes for both SST and MAD drivers

	modified:   sound/pci/Kconfig
	modified:   sound/pci/Makefile
	new file:   sound/pci/sst/Makefile
---
 sound/pci/Kconfig      |   45 +++++++++++++++++++++++++++++++++++++++++++++
 sound/pci/Makefile     |    4 +++-
 sound/pci/sst/Makefile |    9 +++++++++
 3 files changed, 57 insertions(+), 1 deletions(-)
 create mode 100644 sound/pci/sst/Makefile
sound/pci/Kconfig +45 -0
index 748f6b7..6901393 100644
@@ -9,6 +9,51 @@ menuconfig SND_PCI
 
 if SND_PCI
 
+config SND_INTEL_SST
+	bool "MRST SST DRIVER"
+	depends on X86 && LNW_IPC
+	default y
+	help
+	  Say Y here to include support
+
+config SST_OSPM_SUPPORT
+	bool "MRST SST DRIVER SUPPORT for OSPM"
+	depends on SND_INTEL_SST && MSTWN_POWER_MGMT
+	default n
+	help
+	   Say Y here to include support in SST driver for OSPM
+
+config SST_IPC_NOT_INCLUDED
+	bool "IPC NOT INCLUDED"
+	depends on SND_INTEL_SST
+	default y
+	help
+	   Say Y here to include workaround in LPE driver for removing
+	   IPC Driver calls
+
+config SST_DBG_PRINT
+	bool "MRST SST DRIVER DEBUG PRINTS"
+	depends on SND_INTEL_SST
+	default n
+	help
+	   Say Y here to include debug prints for SST driver
+
+config SND_INTELMID
+	bool "MRST SOUND CARD DRIVER"
+	depends on SND_INTEL_SST && SPI_MRST
+	default y
+	select SND_MIXER_OSS
+	select SND_PCM_OSS
+	help
+	  Say Y here to include support
+
+config MID_DBG_PRINT
+	bool "MRST MID DRIVER DEBUG PRINTS"
+	depends on SND_INTELMID
+	default n
+	help
+	   Say Y here to include debug prints for MAD driver
+
 config SND_AD1889
 	tristate "Analog Devices AD1889"
 	select SND_AC97_CODEC
sound/pci/Makefile +3 -1
index ecfc609..0aea1bc 100644
@@ -77,4 +77,6 @@ obj-$(CONFIG_SND) += \
 	rme9652/ \
 	trident/ \
 	ymfpci/ \
-	vx222/
+	vx222/ \
+	sst/
+
sound/pci/sst/Makefile new file +9 -0
new file mode 100644
index 0000000..e87dae5
@@ -0,0 +1,9 @@
+#
+# Makefile for Intel MID Audio drivers
+#
+EXTRA_CFLAGS=-g
+snd-intel-sst-objs := intel_sst.o intel_sst_ipc.o intel_sst_stream.o intel_sst_interface.o
+snd-intelmid-objs := intelmid.o intelmid_v0_control.o intelmid_v1_control.o intelmid_v2_control.o
+# Toplevel Module Dependency
+obj-$(CONFIG_SND_INTEL_SST) += snd-intel-sst.o
+obj-$(CONFIG_SND_INTELMID) += snd-intelmid.o
Signature · 1 line
1.5.4.5
#1 lore raw

At Fri, 3 Jul 2009 11:54:58 +0530,

Quoted 35 lines · Vinod Koul

This patch adds the makefiles and Kconfig changes for both SST and MAD drivers

	modified:   sound/pci/Kconfig
	modified:   sound/pci/Makefile
	new file:   sound/pci/sst/Makefile
---
 sound/pci/Kconfig      |   45 +++++++++++++++++++++++++++++++++++++++++++++
 sound/pci/Makefile     |    4 +++-
 sound/pci/sst/Makefile |    9 +++++++++
 3 files changed, 57 insertions(+), 1 deletions(-)
 create mode 100644 sound/pci/sst/Makefile
sound/pci/Kconfig +11 -0
index 748f6b7..6901393 100644
@@ -9,6 +9,51 @@ menuconfig SND_PCI
 
 if SND_PCI
 
+config SND_INTEL_SST
+	bool "MRST SST DRIVER"
+	depends on X86 && LNW_IPC
+	default y
+	help
+	  Say Y here to include support
+
+config SST_OSPM_SUPPORT
+	bool "MRST SST DRIVER SUPPORT for OSPM"
+	depends on SND_INTEL_SST && MSTWN_POWER_MGMT
+	default n

sound/pci/Kconfig menuconfig SND_PCI · line 32

Quoted 10 lines
sound/pci/Kconfig +10 -0
+	help
+	   Say Y here to include support in SST driver for OSPM
+
+config SST_IPC_NOT_INCLUDED
+	bool "IPC NOT INCLUDED"
+	depends on SND_INTEL_SST
+	default y
+	help
+	   Say Y here to include workaround in LPE driver for removing
+	   IPC Driver calls

Hrm, that's too cryptic.

sound/pci/Kconfig menuconfig SND_PCI · line 39

Quoted 6 lines
sound/pci/Kconfig +6 -0
+config SST_DBG_PRINT
+	bool "MRST SST DRIVER DEBUG PRINTS"
+	depends on SND_INTEL_SST
+	default n
+	help
+	   Say Y here to include debug prints for SST driver

The driver-specific debug functions should be removed as much as possible.
It's OK in the earlier version, but at the time to be merged to the upstream, they should be cleaned up.

sound/pci/Kconfig menuconfig SND_PCI · line 48

Quoted 8 lines
sound/pci/Kconfig +8 -0
+config SND_INTELMID
+	bool "MRST SOUND CARD DRIVER"
+	depends on SND_INTEL_SST && SPI_MRST
+	default y
+	select SND_MIXER_OSS
+	select SND_PCM_OSS
+	help
+	  Say Y here to include support

More text please.

sound/pci/Kconfig menuconfig SND_PCI · line 55

Quoted 6 lines
sound/pci/Kconfig +6 -0
+config MID_DBG_PRINT
+	bool "MRST MID DRIVER DEBUG PRINTS"
+	depends on SND_INTELMID
+	default n
+	help
+	   Say Y here to include debug prints for MAD driver

Ditto.

Quoted 21 lines
sound/pci/Kconfig +0 -0
 config SND_AD1889
 	tristate "Analog Devices AD1889"
 	select SND_AC97_CODEC
sound/pci/Makefile +3 -1
index ecfc609..0aea1bc 100644
@@ -77,4 +77,6 @@ obj-$(CONFIG_SND) += \
 	rme9652/ \
 	trident/ \
 	ymfpci/ \
-	vx222/
+	vx222/ \
+	sst/
+
sound/pci/sst/Makefile new file +0 -0
new file mode 100644
index 0000000..e87dae5

sound/pci/sst/Makefile line 4

Quoted 4 lines
sound/pci/sst/Makefile new file +4 -0
@@ -0,0 +1,9 @@
+#
+# Makefile for Intel MID Audio drivers
+#
+EXTRA_CFLAGS=-g

Don't add this.

Takashi