1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

always allocate 64 adapters

this is for people who do not want to change the config by hand
it is preferred to use adapter_alloc=3 to have one adapter for
each physical DVB card
This commit is contained in:
rjkm 2021-08-20 14:29:29 +02:00
parent 7f40a54b39
commit eeb013e0fa

View File

@ -27,11 +27,15 @@
#define DVB_MAJOR 212 #define DVB_MAJOR 212
#if 0
#if defined(CONFIG_DVB_MAX_ADAPTERS) && CONFIG_DVB_MAX_ADAPTERS > 0 #if defined(CONFIG_DVB_MAX_ADAPTERS) && CONFIG_DVB_MAX_ADAPTERS > 0
#define DVB_MAX_ADAPTERS CONFIG_DVB_MAX_ADAPTERS #define DVB_MAX_ADAPTERS CONFIG_DVB_MAX_ADAPTERS
#else #else
#define DVB_MAX_ADAPTERS 64 #define DVB_MAX_ADAPTERS 64
#endif #endif
#endif
#define DVB_MAX_ADAPTERS 64
#define DVB_UNSET (-1) #define DVB_UNSET (-1)