xref: /OK3568_Linux_fs/kernel/drivers/media/dvb-core/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# DVB device configuration
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunconfig DVB_MMAP
7*4882a593Smuzhiyun	bool "Enable DVB memory-mapped API (EXPERIMENTAL)"
8*4882a593Smuzhiyun	depends on DVB_CORE
9*4882a593Smuzhiyun	depends on VIDEO_V4L2=y || VIDEO_V4L2=DVB_CORE
10*4882a593Smuzhiyun	select VIDEOBUF2_VMALLOC
11*4882a593Smuzhiyun	help
12*4882a593Smuzhiyun	  This option enables DVB experimental memory-mapped API, which
13*4882a593Smuzhiyun	  reduces the number of context switches to read DVB buffers, as
14*4882a593Smuzhiyun	  the buffers can use mmap() syscalls.
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun	  Support for it is experimental. Use with care. If unsure,
17*4882a593Smuzhiyun	  say N.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunconfig DVB_NET
20*4882a593Smuzhiyun	bool "DVB Network Support"
21*4882a593Smuzhiyun	default (NET && INET)
22*4882a593Smuzhiyun	depends on NET && INET && DVB_CORE
23*4882a593Smuzhiyun	help
24*4882a593Smuzhiyun	  This option enables DVB Network Support which is a part of the DVB
25*4882a593Smuzhiyun	  standard. It is used, for example, by automatic firmware updates used
26*4882a593Smuzhiyun	  on Set-Top-Boxes. It can also be used to access the Internet via the
27*4882a593Smuzhiyun	  DVB card, if the network provider supports it.
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun	  You may want to disable the network support on embedded devices. If
30*4882a593Smuzhiyun	  unsure say Y.
31*4882a593Smuzhiyun
32*4882a593Smuzhiyunconfig DVB_MAX_ADAPTERS
33*4882a593Smuzhiyun	int "maximum number of DVB/ATSC adapters"
34*4882a593Smuzhiyun	depends on DVB_CORE
35*4882a593Smuzhiyun	default 16
36*4882a593Smuzhiyun	range 1 255
37*4882a593Smuzhiyun	help
38*4882a593Smuzhiyun	  Maximum number of DVB/ATSC adapters. Increasing this number
39*4882a593Smuzhiyun	  increases the memory consumption of the DVB subsystem even
40*4882a593Smuzhiyun	  if a much lower number of DVB/ATSC adapters is present.
41*4882a593Smuzhiyun	  Only values in the range 4-32 are tested.
42*4882a593Smuzhiyun
43*4882a593Smuzhiyun	  If you are unsure about this, use the default value 16
44*4882a593Smuzhiyun
45*4882a593Smuzhiyunconfig DVB_DYNAMIC_MINORS
46*4882a593Smuzhiyun	bool "Dynamic DVB minor allocation"
47*4882a593Smuzhiyun	depends on DVB_CORE
48*4882a593Smuzhiyun	default y
49*4882a593Smuzhiyun	help
50*4882a593Smuzhiyun	  If you say Y here, the DVB subsystem will use dynamic minor
51*4882a593Smuzhiyun	  allocation for any device that uses the DVB major number.
52*4882a593Smuzhiyun	  This means that you can have more than 4 of a single type
53*4882a593Smuzhiyun	  of device (like demuxes and frontends) per adapter, but udev
54*4882a593Smuzhiyun	  will be required to manage the device nodes.
55*4882a593Smuzhiyun
56*4882a593Smuzhiyun	  If you are unsure about this, say N here.
57*4882a593Smuzhiyun
58*4882a593Smuzhiyunconfig DVB_DEMUX_SECTION_LOSS_LOG
59*4882a593Smuzhiyun	bool "Enable DVB demux section packet loss log"
60*4882a593Smuzhiyun	depends on DVB_CORE
61*4882a593Smuzhiyun	help
62*4882a593Smuzhiyun	  Enable extra log messages meant to detect packet loss
63*4882a593Smuzhiyun	  inside the Kernel.
64*4882a593Smuzhiyun
65*4882a593Smuzhiyun	  Should not be enabled on normal cases, as logs can
66*4882a593Smuzhiyun	  be very verbose.
67*4882a593Smuzhiyun
68*4882a593Smuzhiyun	  If you are unsure about this, say N here.
69*4882a593Smuzhiyun
70*4882a593Smuzhiyunconfig DVB_ULE_DEBUG
71*4882a593Smuzhiyun	bool "Enable DVB net ULE packet debug messages"
72*4882a593Smuzhiyun	depends on DVB_CORE
73*4882a593Smuzhiyun	help
74*4882a593Smuzhiyun	  Enable extra log messages meant to detect problems while
75*4882a593Smuzhiyun	  handling DVB network ULE packet loss inside the Kernel.
76*4882a593Smuzhiyun
77*4882a593Smuzhiyun	  Should not be enabled on normal cases, as logs can
78*4882a593Smuzhiyun	  be very verbose.
79*4882a593Smuzhiyun
80*4882a593Smuzhiyun	  If you are unsure about this, say N here.
81