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
1 changed files with 4 additions and 0 deletions

View File

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