diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-23 17:11:19 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-23 17:11:19 +0200 |
commit | 6b5f5ff6db5bdccf525c24c356d71bedfba91417 (patch) | |
tree | 6934f7ace5e65deeb962d4a6ac8e678c68eee623 /linux/drivers/media/dvb/Kconfig | |
parent | 4085bc31e472f8d6cabf91d541501f4577ca4e3b (diff) | |
download | mediapointer-dvb-s2-6b5f5ff6db5bdccf525c24c356d71bedfba91417.tar.gz mediapointer-dvb-s2-6b5f5ff6db5bdccf525c24c356d71bedfba91417.tar.bz2 |
Dynamic DVB minor allocation
From: Andreas Oberritter <obi@linuxtv.org>
This is a multi-part message in MIME format.
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 'linux/drivers/media/dvb/Kconfig')
-rw-r--r-- | linux/drivers/media/dvb/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/Kconfig b/linux/drivers/media/dvb/Kconfig index 0bcd85257..40ebde53b 100644 --- a/linux/drivers/media/dvb/Kconfig +++ b/linux/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 |