[media] Raise adapter number limit
authorБуди Романто, AreMa Inc <knightrider@are.ma>
Tue, 5 Apr 2016 16:14:10 +0000 (13:14 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 23 Nov 2016 15:28:43 +0000 (13:28 -0200)
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>
drivers/media/dvb-core/Kconfig
drivers/media/dvb-core/dvbdev.h

index 8964f1d..eeef94a 100644 (file)
@@ -5,7 +5,7 @@
 config DVB_MAX_ADAPTERS
        int "maximum number of DVB/ATSC adapters"
        depends on DVB_CORE
-       default 8
+       default 16
        range 1 255
        help
          Maximum number of DVB/ATSC adapters. Increasing this number
@@ -13,7 +13,7 @@ config DVB_MAX_ADAPTERS
          if a much lower number of DVB/ATSC adapters is present.
          Only values in the range 4-32 are tested.
 
-         If you are unsure about this, use the default value 8
+         If you are unsure about this, use the default value 16
 
 config DVB_DYNAMIC_MINORS
        bool "Dynamic DVB minor allocation"
index 576bbd4..8c0a7b5 100644 (file)
@@ -34,7 +34,7 @@
 #if defined(CONFIG_DVB_MAX_ADAPTERS) && CONFIG_DVB_MAX_ADAPTERS > 0
   #define DVB_MAX_ADAPTERS CONFIG_DVB_MAX_ADAPTERS
 #else
-  #define DVB_MAX_ADAPTERS 8
+  #define DVB_MAX_ADAPTERS 16
 #endif
 
 #define DVB_UNSET (-1)