Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] Raise adapter number limit

The current limit is too low for latest cards with 8+ tuners on a single slot.
IMHO, the most appropriate minimum default is 16.

Signed-off-by: Буди Романто, AreMa Inc <knightrider@are.ma>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>

+3 -3
+2 -2
drivers/media/dvb-core/Kconfig
··· 5 5 config DVB_MAX_ADAPTERS 6 6 int "maximum number of DVB/ATSC adapters" 7 7 depends on DVB_CORE 8 - default 8 8 + default 16 9 9 range 1 255 10 10 help 11 11 Maximum number of DVB/ATSC adapters. Increasing this number ··· 13 13 if a much lower number of DVB/ATSC adapters is present. 14 14 Only values in the range 4-32 are tested. 15 15 16 - If you are unsure about this, use the default value 8 16 + If you are unsure about this, use the default value 16 17 17 18 18 config DVB_DYNAMIC_MINORS 19 19 bool "Dynamic DVB minor allocation"
+1 -1
drivers/media/dvb-core/dvbdev.h
··· 34 34 #if defined(CONFIG_DVB_MAX_ADAPTERS) && CONFIG_DVB_MAX_ADAPTERS > 0 35 35 #define DVB_MAX_ADAPTERS CONFIG_DVB_MAX_ADAPTERS 36 36 #else 37 - #define DVB_MAX_ADAPTERS 8 37 + #define DVB_MAX_ADAPTERS 16 38 38 #endif 39 39 40 40 #define DVB_UNSET (-1)