forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/drivers/media/dvb-core/Kconfig
....@@ -1,6 +1,33 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # DVB device configuration
34 #
5
+
6
+config DVB_MMAP
7
+ bool "Enable DVB memory-mapped API (EXPERIMENTAL)"
8
+ depends on DVB_CORE
9
+ depends on VIDEO_V4L2=y || VIDEO_V4L2=DVB_CORE
10
+ select VIDEOBUF2_VMALLOC
11
+ help
12
+ This option enables DVB experimental memory-mapped API, which
13
+ reduces the number of context switches to read DVB buffers, as
14
+ the buffers can use mmap() syscalls.
15
+
16
+ Support for it is experimental. Use with care. If unsure,
17
+ say N.
18
+
19
+config DVB_NET
20
+ bool "DVB Network Support"
21
+ default (NET && INET)
22
+ depends on NET && INET && DVB_CORE
23
+ help
24
+ This option enables DVB Network Support which is a part of the DVB
25
+ standard. It is used, for example, by automatic firmware updates used
26
+ on Set-Top-Boxes. It can also be used to access the Internet via the
27
+ DVB card, if the network provider supports it.
28
+
29
+ You may want to disable the network support on embedded devices. If
30
+ unsure say Y.
431
532 config DVB_MAX_ADAPTERS
633 int "maximum number of DVB/ATSC adapters"
....@@ -18,7 +45,7 @@
1845 config DVB_DYNAMIC_MINORS
1946 bool "Dynamic DVB minor allocation"
2047 depends on DVB_CORE
21
- default n
48
+ default y
2249 help
2350 If you say Y here, the DVB subsystem will use dynamic minor
2451 allocation for any device that uses the DVB major number.
....@@ -31,7 +58,6 @@
3158 config DVB_DEMUX_SECTION_LOSS_LOG
3259 bool "Enable DVB demux section packet loss log"
3360 depends on DVB_CORE
34
- default n
3561 help
3662 Enable extra log messages meant to detect packet loss
3763 inside the Kernel.
....@@ -44,7 +70,6 @@
4470 config DVB_ULE_DEBUG
4571 bool "Enable DVB net ULE packet debug messages"
4672 depends on DVB_CORE
47
- default n
4873 help
4974 Enable extra log messages meant to detect problems while
5075 handling DVB network ULE packet loss inside the Kernel.