|
@@ -54,10 +54,12 @@ MODULE_PARM_DESC(debug,"enable debug messages [alsa]");
|
|
|
|
|
|
static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
|
|
static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
|
|
static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
|
|
static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
|
|
-static int enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0};
|
|
|
|
|
|
+static int enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 1};
|
|
|
|
|
|
module_param_array(index, int, NULL, 0444);
|
|
module_param_array(index, int, NULL, 0444);
|
|
|
|
+module_param_array(enable, int, NULL, 0444);
|
|
MODULE_PARM_DESC(index, "Index value for SAA7134 capture interface(s).");
|
|
MODULE_PARM_DESC(index, "Index value for SAA7134 capture interface(s).");
|
|
|
|
+MODULE_PARM_DESC(enable, "Enable (or not) the SAA7134 capture interface(s).");
|
|
|
|
|
|
#define dprintk(fmt, arg...) if (debug) \
|
|
#define dprintk(fmt, arg...) if (debug) \
|
|
printk(KERN_DEBUG "%s/alsa: " fmt, dev->name , ##arg)
|
|
printk(KERN_DEBUG "%s/alsa: " fmt, dev->name , ##arg)
|