summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/Kconfig
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@linuxtv.org>2008-10-23 12:11:19 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 17:53:12 -0200
commit5dd3f3071070f5a306bdf8d474c80062f5691cba (patch)
treefc576a715c397ac5c5459006ea34a9ffac3d430b /drivers/media/dvb/Kconfig
parent568e9bb8d764300e1de81d49ae698cc970a511d8 (diff)
downloadop-kernel-dev-5dd3f3071070f5a306bdf8d474c80062f5691cba.zip
op-kernel-dev-5dd3f3071070f5a306bdf8d474c80062f5691cba.tar.gz
V4L/DVB (9361): Dynamic DVB minor allocation
Implement dynamic minor allocation for DVB, to allow more than four devices of the same type per adapter, based on drivers/usb/core/file.c. Add a new config option, DVB_DYNAMIC_MINORS, to make use of this feature, which defaults to no for backwards compatibility. Signed-off-by: Andreas Oberritter <obi@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/Kconfig')
-rw-r--r--drivers/media/dvb/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/media/dvb/Kconfig b/drivers/media/dvb/Kconfig
index 0bcd852..40ebde5 100644
--- a/drivers/media/dvb/Kconfig
+++ b/drivers/media/dvb/Kconfig
@@ -2,6 +2,19 @@
# DVB device configuration
#
+config DVB_DYNAMIC_MINORS
+ bool "Dynamic DVB minor allocation"
+ depends on DVB_CORE
+ default n
+ help
+ If you say Y here, the DVB subsystem will use dynamic minor
+ allocation for any device that uses the DVB major number.
+ This means that you can have more than 4 of a single type
+ of device (like demuxes and frontends) per adapter, but udev
+ will be required to manage the device nodes.
+
+ If you are unsure about this, say N here.
+
menuconfig DVB_CAPTURE_DRIVERS
bool "DVB/ATSC adapters"
depends on DVB_CORE
OpenPOWER on IntegriCloud