Sound, echoaudio: Place echoaudio drivers in submenu
Subsystems (2)
PATCH 1/1 Sound, echoaudio: Place echoaudio drivers in submenu
Put all the echoaudio boards into their own Kconfig submneu. They used to be listed individually.
--- sound/pci/Kconfig | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-)
sound/pci/Kconfig +0 -0
@@ -312,8 +312,18 @@ config SND_CTXFI
To compile this driver as a module, choose M here: the module will be called snd-ctxfi.
+config SND_ECHOAUDIO
+ tristate "Echoaudio Support"
+ default y
+ select SND_PCM
+ help
+ Support for EchoAudio based devices.
+
+if SND_ECHOAUDIO
+
config SND_DARLA20
tristate "(Echoaudio) Darla20"
+ depends on SND_ECHOAUDIO
select FW_LOADER
select SND_PCM
help
@@ -324,6 +334,7 @@ config SND_DARLA20
config SND_GINA20
tristate "(Echoaudio) Gina20"
+ depends on SND_ECHOAUDIO
select FW_LOADER
select SND_PCM
help
@@ -334,6 +345,7 @@ config SND_GINA20
config SND_LAYLA20
tristate "(Echoaudio) Layla20"
+ depends on SND_ECHOAUDIO
select FW_LOADER
select SND_RAWMIDI
select SND_PCM
@@ -345,6 +357,7 @@ config SND_LAYLA20
config SND_DARLA24
tristate "(Echoaudio) Darla24"
+ depends on SND_ECHOAUDIO
select FW_LOADER
select SND_PCM
help
@@ -355,6 +368,7 @@ config SND_DARLA24
config SND_GINA24
tristate "(Echoaudio) Gina24"
+ depends on SND_ECHOAUDIO
select FW_LOADER
select SND_PCM
help
@@ -365,6 +379,7 @@ config SND_GINA24
config SND_LAYLA24
tristate "(Echoaudio) Layla24"
+ depends on SND_ECHOAUDIO
select FW_LOADER
select SND_RAWMIDI
select SND_PCM
@@ -376,6 +391,7 @@ config SND_LAYLA24
config SND_MONA
tristate "(Echoaudio) Mona"
+ depends on SND_ECHOAUDIO
select FW_LOADER
select SND_RAWMIDI
select SND_PCM
@@ -387,6 +403,7 @@ config SND_MONA
config SND_MIA
tristate "(Echoaudio) Mia"
+ depends on SND_ECHOAUDIO
select FW_LOADER
select SND_RAWMIDI
select SND_PCM
@@ -398,6 +415,7 @@ config SND_MIA
config SND_ECHO3G
tristate "(Echoaudio) 3G cards"
+ depends on SND_ECHOAUDIO
select FW_LOADER
select SND_RAWMIDI
select SND_PCM
@@ -409,6 +427,7 @@ config SND_ECHO3G
config SND_INDIGO
tristate "(Echoaudio) Indigo"
+ depends on SND_ECHOAUDIO
select FW_LOADER
select SND_PCM
help
@@ -419,6 +438,7 @@ config SND_INDIGO
config SND_INDIGOIO
tristate "(Echoaudio) Indigo IO"
+ depends on SND_ECHOAUDIO
select FW_LOADER
select SND_PCM
help
@@ -429,6 +449,7 @@ config SND_INDIGOIO
config SND_INDIGODJ
tristate "(Echoaudio) Indigo DJ"
+ depends on SND_ECHOAUDIO
select FW_LOADER
select SND_PCM
help
@@ -439,6 +460,7 @@ config SND_INDIGODJ
config SND_INDIGOIOX
tristate "(Echoaudio) Indigo IOx"
+ depends on SND_ECHOAUDIO
select FW_LOADER
select SND_PCM
help
@@ -449,6 +471,7 @@ config SND_INDIGOIOX
config SND_INDIGODJX
tristate "(Echoaudio) Indigo DJx"
+ depends on SND_ECHOAUDIO
select FW_LOADER
select SND_PCM
help
@@ -457,6 +480,8 @@ config SND_INDIGODJX
To compile this driver as a module, choose M here: the module will be called snd-indigodjx
+endif
+
config SND_EMU10K1
tristate "Emu10k1 (SB Live!, Audigy, E-mu APS)" select FW_LOADER
--
1.7.4.1
At Thu, 18 Aug 2011 10:11:12 -0700,
Quoted 3 lines · John Daiker
Put all the echoaudio boards into their own
Kconfigsubmneu. They used to be listed individually.
Because they are indeed individual drivers :)
I don't mind much to include such a patch, but OTOH, people also don't like to add yet-another-config item. Also default=y isn't always preferred...
thanks,
Takashi
Quoted 145 lines
Signed-off-by John Daiker <[email protected]>--- sound/pci/Kconfig | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-)sound/pci/Kconfig +25
-1@@ -312,8 +312,18 @@ config SND_CTXFI To compile this driver as a module, choose M here: the module will be called snd-ctxfi. +config SND_ECHOAUDIO + tristate "Echoaudio Support" + default y + select SND_PCM + help + Support for EchoAudio based devices. + +if SND_ECHOAUDIO + config SND_DARLA20 tristate "(Echoaudio) Darla20" + depends on SND_ECHOAUDIO select FW_LOADER select SND_PCM help@@ -324,6 +334,7 @@ config SND_DARLA20 config SND_GINA20 tristate "(Echoaudio) Gina20" + depends on SND_ECHOAUDIO select FW_LOADER select SND_PCM help@@ -334,6 +345,7 @@ config SND_GINA20 config SND_LAYLA20 tristate "(Echoaudio) Layla20" + depends on SND_ECHOAUDIO select FW_LOADER select SND_RAWMIDI select SND_PCM@@ -345,6 +357,7 @@ config SND_LAYLA20 config SND_DARLA24 tristate "(Echoaudio) Darla24" + depends on SND_ECHOAUDIO select FW_LOADER select SND_PCM help@@ -355,6 +368,7 @@ config SND_DARLA24 config SND_GINA24 tristate "(Echoaudio) Gina24" + depends on SND_ECHOAUDIO select FW_LOADER select SND_PCM help@@ -365,6 +379,7 @@ config SND_GINA24 config SND_LAYLA24 tristate "(Echoaudio) Layla24" + depends on SND_ECHOAUDIO select FW_LOADER select SND_RAWMIDI select SND_PCM@@ -376,6 +391,7 @@ config SND_LAYLA24 config SND_MONA tristate "(Echoaudio) Mona" + depends on SND_ECHOAUDIO select FW_LOADER select SND_RAWMIDI select SND_PCM@@ -387,6 +403,7 @@ config SND_MONA config SND_MIA tristate "(Echoaudio) Mia" + depends on SND_ECHOAUDIO select FW_LOADER select SND_RAWMIDI select SND_PCM@@ -398,6 +415,7 @@ config SND_MIA config SND_ECHO3G tristate "(Echoaudio) 3G cards" + depends on SND_ECHOAUDIO select FW_LOADER select SND_RAWMIDI select SND_PCM@@ -409,6 +427,7 @@ config SND_ECHO3G config SND_INDIGO tristate "(Echoaudio) Indigo" + depends on SND_ECHOAUDIO select FW_LOADER select SND_PCM help@@ -419,6 +438,7 @@ config SND_INDIGO config SND_INDIGOIO tristate "(Echoaudio) Indigo IO" + depends on SND_ECHOAUDIO select FW_LOADER select SND_PCM help@@ -429,6 +449,7 @@ config SND_INDIGOIO config SND_INDIGODJ tristate "(Echoaudio) Indigo DJ" + depends on SND_ECHOAUDIO select FW_LOADER select SND_PCM help@@ -439,6 +460,7 @@ config SND_INDIGODJ config SND_INDIGOIOX tristate "(Echoaudio) Indigo IOx" + depends on SND_ECHOAUDIO select FW_LOADER select SND_PCM help@@ -449,6 +471,7 @@ config SND_INDIGOIOX config SND_INDIGODJX tristate "(Echoaudio) Indigo DJx" + depends on SND_ECHOAUDIO select FW_LOADER select SND_PCM help@@ -457,6 +480,8 @@ config SND_INDIGODJX To compile this driver as a module, choose M here: the module will be called snd-indigodjx +endif + config SND_EMU10K1 tristate "Emu10k1 (SB Live!, Audigy, E-mu APS)" select FW_LOADER --1.7.4.1
Quoted 7 lines · Takashi Iwai
At Thu, 18 Aug 2011 10:11:12 -0700,
Quoted 3 lines · John Daiker
Put all the echoaudio boards into their own
Kconfigsubmneu. They used to be listed individually.Because they are indeed individual drivers :)
Individual like the Intel HD Audio drivers? :-P I was using that section of Kconfig as a model.
Seems like there's a disconnect between the folder structure and the config option(s). All the files are in the echoaudio folder, but the Kconfig shows them as individuals. This is contrary to the Intel HD Audio situation. One folder, one (over-arching) Kconfig option. Which is best? Does it really matter?
Quoted 4 lines
I don't mind much to include such a patch, but OTOH, people also don't like to add yet-another-config item. Also default=y isn't always preferred...
What would be preferred here? The Intel HD Audio config doesn't show a default... nor do any of the echoaudio drivers themselves. Can I omit the 'default' line completely?
John
Quoted 143 lines
thanks,
Takashi
Quoted 137 lines
Signed-off-by John Daiker <[email protected]>---
sound/pci/Kconfig | 25 +++++++++++++++++++++++++1 files changed, 25 insertions(+), 0 deletions(-)sound/pci/Kconfig +0
-0@@ -312,8 +312,18 @@ config SND_CTXFITo compile this driver as a module, choose M here: the module will be called snd-ctxfi.
sound/pci/Kconfig +9
-0+config SND_ECHOAUDIO + tristate "Echoaudio Support" + default y + select SND_PCM + help + Support for EchoAudio based devices. + +if SND_ECHOAUDIO +config
SND_DARLA20
tristate "(Echoaudio) Darla20"
+ depends onSND_ECHOAUDIO
selectFW_LOADER
selectSND_PCM
helpsound/pci/Kconfig +0
-0@@ -324,6 +334,7 @@ config SND_DARLA20config
SND_GINA20
tristate "(Echoaudio) Gina20"
+ depends onSND_ECHOAUDIO
selectFW_LOADER
selectSND_PCM
helpsound/pci/Kconfig +0
-0@@ -334,6 +345,7 @@ config SND_GINA20config
SND_LAYLA20
tristate "(Echoaudio) Layla20"
+ depends onSND_ECHOAUDIO
selectFW_LOADER
selectSND_RAWMIDI
selectSND_PCMsound/pci/Kconfig +0
-0@@ -345,6 +357,7 @@ config SND_LAYLA20config
SND_DARLA24
tristate "(Echoaudio) Darla24"
+ depends onSND_ECHOAUDIO
selectFW_LOADER
selectSND_PCM
helpsound/pci/Kconfig +0
-0@@ -355,6 +368,7 @@ config SND_DARLA24config
SND_GINA24
tristate "(Echoaudio) Gina24"
+ depends onSND_ECHOAUDIO
selectFW_LOADER
selectSND_PCM
helpsound/pci/Kconfig +0
-0@@ -365,6 +379,7 @@ config SND_GINA24config
SND_LAYLA24
tristate "(Echoaudio) Layla24"
+ depends onSND_ECHOAUDIO
selectFW_LOADER
selectSND_RAWMIDI
selectSND_PCMsound/pci/Kconfig +0
-0@@ -376,6 +391,7 @@ config SND_LAYLA24config
SND_MONA
tristate "(Echoaudio) Mona"
+ depends onSND_ECHOAUDIO
selectFW_LOADER
selectSND_RAWMIDI
selectSND_PCMsound/pci/Kconfig +0
-0@@ -387,6 +403,7 @@ config SND_MONAconfig
SND_MIA
tristate "(Echoaudio) Mia"
+ depends onSND_ECHOAUDIO
selectFW_LOADER
selectSND_RAWMIDI
selectSND_PCMsound/pci/Kconfig +0
-0@@ -398,6 +415,7 @@ config SND_MIAconfig
SND_ECHO3G
tristate "(Echoaudio) 3G cards"
+ depends onSND_ECHOAUDIO
selectFW_LOADER
selectSND_RAWMIDI
selectSND_PCMsound/pci/Kconfig +0
-0@@ -409,6 +427,7 @@ config SND_ECHO3Gconfig
SND_INDIGO
tristate "(Echoaudio) Indigo"
+ depends onSND_ECHOAUDIO
selectFW_LOADER
selectSND_PCM
helpsound/pci/Kconfig +0
-0@@ -419,6 +438,7 @@ config SND_INDIGOconfig
SND_INDIGOIO
tristate "(Echoaudio) Indigo IO"
+ depends onSND_ECHOAUDIO
selectFW_LOADER
selectSND_PCM
helpsound/pci/Kconfig +0
-0@@ -429,6 +449,7 @@ config SND_INDIGOIOconfig
SND_INDIGODJ
tristate "(Echoaudio) Indigo DJ"
+ depends onSND_ECHOAUDIO
selectFW_LOADER
selectSND_PCM
helpsound/pci/Kconfig +0
-0@@ -439,6 +460,7 @@ config SND_INDIGODJconfig
SND_INDIGOIOX
tristate "(Echoaudio) Indigo IOx"
+ depends onSND_ECHOAUDIO
selectFW_LOADER
selectSND_PCM
helpsound/pci/Kconfig +0
-0@@ -449,6 +471,7 @@ config SND_INDIGOIOXconfig
SND_INDIGODJX
tristate "(Echoaudio) Indigo DJx"
+ depends onSND_ECHOAUDIO
selectFW_LOADER
selectSND_PCM
helpsound/pci/Kconfig +0
-0@@ -457,6 +480,8 @@ config SND_INDIGODJXTo compile this driver as a module, choose M here: the module will be called snd-indigodjx
Quoted 9 lines
Quoted 8 lines
sound/pci/Kconfig +2
-0+endif +config
SND_EMU10K1
tristate "Emu10k1 (SB Live!, Audigy, E-mu APS)" selectFW_LOADER
--
1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html