diff options
author | Andreas Oberritter <obi@linuxtv.org> | 2008-10-23 11:11:19 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 14:53:12 -0500 |
commit | 5dd3f3071070f5a306bdf8d474c80062f5691cba (patch) | |
tree | fc576a715c397ac5c5459006ea34a9ffac3d430b /drivers/media/dvb/Kconfig | |
parent | 568e9bb8d764300e1de81d49ae698cc970a511d8 (diff) |
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/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/media/dvb/Kconfig b/drivers/media/dvb/Kconfig index 0bcd852576d6..40ebde53b3ce 100644 --- a/drivers/media/dvb/Kconfig +++ b/drivers/media/dvb/Kconfig | |||
@@ -2,6 +2,19 @@ | |||
2 | # DVB device configuration | 2 | # DVB device configuration |
3 | # | 3 | # |
4 | 4 | ||
5 | config DVB_DYNAMIC_MINORS | ||
6 | bool "Dynamic DVB minor allocation" | ||
7 | depends on DVB_CORE | ||
8 | default n | ||
9 | help | ||
10 | If you say Y here, the DVB subsystem will use dynamic minor | ||
11 | allocation for any device that uses the DVB major number. | ||
12 | This means that you can have more than 4 of a single type | ||
13 | of device (like demuxes and frontends) per adapter, but udev | ||
14 | will be required to manage the device nodes. | ||
15 | |||
16 | If you are unsure about this, say N here. | ||
17 | |||
5 | menuconfig DVB_CAPTURE_DRIVERS | 18 | menuconfig DVB_CAPTURE_DRIVERS |
6 | bool "DVB/ATSC adapters" | 19 | bool "DVB/ATSC adapters" |
7 | depends on DVB_CORE | 20 | depends on DVB_CORE |