xref: /openbmc/linux/drivers/media/dvb-core/Kconfig (revision e8ec0493)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# DVB device configuration
4#
5
6config 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
19config 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.
31
32config DVB_MAX_ADAPTERS
33	int "maximum number of DVB/ATSC adapters"
34	depends on DVB_CORE
35	default 16
36	range 1 255
37	help
38	  Maximum number of DVB/ATSC adapters. Increasing this number
39	  increases the memory consumption of the DVB subsystem even
40	  if a much lower number of DVB/ATSC adapters is present.
41	  Only values in the range 4-32 are tested.
42
43	  If you are unsure about this, use the default value 16
44
45config DVB_DYNAMIC_MINORS
46	bool "Dynamic DVB minor allocation"
47	depends on DVB_CORE
48	default y
49	help
50	  If you say Y here, the DVB subsystem will use dynamic minor
51	  allocation for any device that uses the DVB major number.
52	  This means that you can have more than 4 of a single type
53	  of device (like demuxes and frontends) per adapter, but udev
54	  will be required to manage the device nodes.
55
56	  If you are unsure about this, say N here.
57
58config DVB_DEMUX_SECTION_LOSS_LOG
59	bool "Enable DVB demux section packet loss log"
60	depends on DVB_CORE
61	help
62	  Enable extra log messages meant to detect packet loss
63	  inside the Kernel.
64
65	  Should not be enabled on normal cases, as logs can
66	  be very verbose.
67
68	  If you are unsure about this, say N here.
69
70config DVB_ULE_DEBUG
71	bool "Enable DVB net ULE packet debug messages"
72	depends on DVB_CORE
73	help
74	  Enable extra log messages meant to detect problems while
75	  handling DVB network ULE packet loss inside the Kernel.
76
77	  Should not be enabled on normal cases, as logs can
78	  be very verbose.
79
80	  If you are unsure about this, say N here.
81