Skip to contentSkip to conversation

sound: align device drivers menus

PATCH In review Randy.Dunlap 2 participants 4 messages Sep 29, 2005 – Sep 30, 2005 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sound: align device drivers menus

From: Randy Dunlap <[email protected]>

AC97 Kconfig entries broke the ALSA device drivers menu, so move them to a location where that won't happen, enabling all device sub-menus to be presented together.

---

 sound/drivers/Kconfig |    8 ++++++++
 sound/pci/Kconfig     |    8 --------
 2 files changed, 8 insertions(+), 8 deletions(-)
sound/drivers/Kconfig renamed from sound/drivers/Kconfig~alsa_pci_config +8 -0
diff -Naurp linux-2614-rc2-git6/sound/drivers/Kconfig~alsa_pci_config linux-2614-rc2-git6/sound/drivers/Kconfig
@@ -100,4 +100,12 @@ config SND_MPU401
 	  To compile this driver as a module, choose M here: the module
 	  will be called snd-mpu401.
 
+config SND_AC97_CODEC
+	tristate
+	select SND_PCM
+	select SND_AC97_BUS
+
+config SND_AC97_BUS
+	tristate
+
 endmenu
sound/pci/Kconfig renamed from sound/pci/Kconfig~alsa_pci_config +0 -8
diff -Naurp linux-2614-rc2-git6/sound/pci/Kconfig~alsa_pci_config linux-2614-rc2-git6/sound/pci/Kconfig
@@ -1,13 +1,5 @@
 # ALSA PCI drivers
 
-config SND_AC97_CODEC
-	tristate
-	select SND_PCM
-	select SND_AC97_BUS
-
-config SND_AC97_BUS
-	tristate
-
 menu "PCI devices"
 	depends on SND!=n && PCI
 

---

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl

#1 lore raw

At Wed, 28 Sep 2005 22:18:57 -0700,

Quoted 8 lines · Randy.Dunlap

From: Randy Dunlap <[email protected]>

AC97 Kconfig entries broke the ALSA device drivers menu, so move them to a location where that won't happen, enabling all device sub-menus to be presented together.

Hmm, this was intentionally out of "PCI devices" menu, because SND_AC97_CODEC and SND_AC97_BUS are independent from PCI, indeed. Having them into "PCI" menu breaks ARM pxa2xx-ac97 driver.

I guess simply moving them to drivers/Kconfig would solve, then.

Takashi

Quoted 45 lines

---

 sound/drivers/Kconfig |    8 ++++++++
 sound/pci/Kconfig     |    8 --------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff -Naurp linux-2614-rc2-git6/sound/drivers/Kconfig~alsa_pci_config linux-2614-rc2-git6/sound/drivers/Kconfig

sound/drivers/Kconfig renamed from sound/drivers/Kconfig~alsa_pci_config +8 -0
@@ -100,4 +100,12 @@ config SND_MPU401
 	  To compile this driver as a module, choose M here: the module
 	  will be called snd-mpu401.
 
+config SND_AC97_CODEC
+	tristate
+	select SND_PCM
+	select SND_AC97_BUS
+
+config SND_AC97_BUS
+	tristate
+
 endmenu

diff -Naurp linux-2614-rc2-git6/sound/pci/Kconfig~alsa_pci_config linux-2614-rc2-git6/sound/pci/Kconfig

sound/pci/Kconfig renamed from sound/pci/Kconfig~alsa_pci_config +0 -10
@@ -1,13 +1,5 @@
 # ALSA PCI drivers
 
-config SND_AC97_CODEC
-	tristate
-	select SND_PCM
-	select SND_AC97_BUS
-
-config SND_AC97_BUS
-	tristate
-
 menu "PCI devices"
 	depends on SND!=n && PCI
 
 
 
---
 
 
-------------------------------------------------------
Quoted 8 lines

This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl

#2 lore raw
Quoted 5 lines · On Thu, 29 Sep 2005 16:01:46 +0200 Takashi Iwai wrote:

Hmm, this was intentionally out of "PCI devices" menu, because SND_AC97_CODEC and SND_AC97_BUS are independent from PCI, indeed. Having them into "PCI" menu breaks ARM pxa2xx-ac97 driver.

I guess simply moving them to drivers/Kconfig would solve, then.

Hi-
I think they work where I had moved them, but I'll move them again. I did test with ARCH={i386,mips,arm} successfully (both patches).

Here's a replacement patch.

Andrew, please drop: sound-align-device-drivers-menus.patch and replace it with this one.

---
From: Randy Dunlap <[email protected]>

AC97 Kconfig entries broke the ALSA device drivers menu, so move them to a location where that won't happen, enabling all device sub-menus to be presented together.

---

 sound/Kconfig     |    8 ++++++++
 sound/pci/Kconfig |    8 --------
 2 files changed, 8 insertions(+), 8 deletions(-)
sound/pci/Kconfig renamed from sound/pci/Kconfig~alsa_pci_config +0 -8
diff -Naurp linux-2614-rc2-git6/sound/pci/Kconfig~alsa_pci_config linux-2614-rc2-git6/sound/pci/Kconfig
@@ -1,13 +1,5 @@
 # ALSA PCI drivers
 
-config SND_AC97_CODEC
-	tristate
-	select SND_PCM
-	select SND_AC97_BUS
-
-config SND_AC97_BUS
-	tristate
-
 menu "PCI devices"
 	depends on SND!=n && PCI
 
sound/Kconfig renamed from sound/Kconfig~alsa_pci_config +8 -0
diff -Naurp linux-2614-rc2-git6/sound/Kconfig~alsa_pci_config linux-2614-rc2-git6/sound/Kconfig
@@ -48,6 +48,14 @@ config SND
 
 	  For more information, see <http://www.alsa-project.org/>
 
+config SND_AC97_CODEC
+	tristate
+	select SND_PCM
+	select SND_AC97_BUS
+
+config SND_AC97_BUS
+	tristate
+
 source "sound/core/Kconfig"
 
 source "sound/drivers/Kconfig"

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl

#3 lore raw

At Thu, 29 Sep 2005 19:57:22 -0700,

Quoted 7 lines · Randy.Dunlap
Quoted 4 lines · On Thu, 29 Sep 2005 16:01:46 +0200 Takashi Iwai wrote:

Hmm, this was intentionally out of "PCI devices" menu, because SND_AC97_CODEC and SND_AC97_BUS are independent from PCI, indeed. Having them into "PCI" menu breaks ARM pxa2xx-ac97 driver.

Quoted 7 lines
Quoted 1 line

I guess simply moving them to drivers/Kconfig would solve, then.

Hi-
I think they work where I had moved them, but I'll move them again. I did test with ARCH={i386,mips,arm} successfully (both patches).

Here's a replacement patch.

Thanks, I applied to ALSA CVS tree, too.

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl