[ALSA] dynamic minors (6/6): increase maximum number of sound cards
Modules: ALSA Core,Memalloc module,ALSA sequencer With dynamic minor numbers, we can increase the number of sound cards. This requires that the sequencer client numbers of some kernel drivers are allocated dynamically, too. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
This commit is contained in:
committed by
Jaroslav Kysela
parent
204bdb1b50
commit
d001544ded
@ -28,7 +28,12 @@
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#define SNDRV_CARDS 8 /* number of supported soundcards - don't change - minor numbers */
|
||||
/* number of supported soundcards */
|
||||
#ifdef CONFIG_SND_DYNAMIC_MINORS
|
||||
#define SNDRV_CARDS 32
|
||||
#else
|
||||
#define SNDRV_CARDS 8 /* don't change - minor numbers */
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SND_MAJOR /* standard configuration */
|
||||
#define CONFIG_SND_MAJOR 116
|
||||
|
Reference in New Issue
Block a user