[alsa-devel] snd-pcsp doesn't accept the index parameter
Alexander E. Patrakov
patrakov at ums.usu.ru
Sat Oct 20 13:07:10 CEST 2007
It is impossible to put pcsp at a stable index without the trivial patch
below.
Signed-Off-By: Alexander E. Patrakov <patrakov at ums.usu.ru>
--- pcsp.c
+++ pcsp.c
@@ -27,6 +27,8 @@
static char *id = SNDRV_DEFAULT_STR1; /* ID for this card */
static int enable = SNDRV_DEFAULT_ENABLE1; /* Enable this card */
+module_param(index, int, 0444);
+MODULE_PARM_DESC(index, "Index value for pcsp soundcard.");
module_param(id, charp, 0444);
MODULE_PARM_DESC(id, "ID string for pcsp soundcard.");
module_param(enable, bool, 0444);
--
Alexander E. Patrakov
More information about the Alsa-devel
mailing list