diff options
author | Janne Grunau <j@jannau.net> | 2009-09-01 22:15:39 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-12 15:20:03 (GMT) |
commit | 4457ef1d6163533073efdebed82a049aad44e3b3 (patch) | |
tree | faf7001493af74cd315b2f44ca8053debd5deb6e /drivers/media/dvb/Kconfig | |
parent | f9089b0f9ed48be9c83101d1f1fded37b415a90e (diff) | |
download | linux-4457ef1d6163533073efdebed82a049aad44e3b3.tar.xz |
V4L/DVB (12684): DVB: make DVB_MAX_ADAPTERS configurable
Support for more than 8 DVB devices is requested regularly so make it
a kconfig variable instead of a header define. Values in the range 4-32
are tested.
Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/Kconfig')
-rw-r--r-- | drivers/media/dvb/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/media/dvb/Kconfig b/drivers/media/dvb/Kconfig index b019869..1d0e4b1 100644 --- a/drivers/media/dvb/Kconfig +++ b/drivers/media/dvb/Kconfig @@ -2,6 +2,19 @@ # DVB device configuration # +config DVB_MAX_ADAPTERS + int "maximum number of DVB/ATSC adapters" + depends on DVB_CORE + default 8 + range 1 255 + help + Maximum number of DVB/ATSC adapters. Increasing this number + increases the memory consumption of the DVB subsystem even + 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 + config DVB_DYNAMIC_MINORS bool "Dynamic DVB minor allocation" depends on DVB_CORE |