162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# DVB device configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig DVB_MMAP
762306a36Sopenharmony_ci	bool "Enable DVB memory-mapped API (EXPERIMENTAL)"
862306a36Sopenharmony_ci	depends on DVB_CORE
962306a36Sopenharmony_ci	depends on VIDEO_DEV=y || VIDEO_DEV=DVB_CORE
1062306a36Sopenharmony_ci	select VIDEOBUF2_VMALLOC
1162306a36Sopenharmony_ci	help
1262306a36Sopenharmony_ci	  This option enables DVB experimental memory-mapped API, which
1362306a36Sopenharmony_ci	  reduces the number of context switches to read DVB buffers, as
1462306a36Sopenharmony_ci	  the buffers can use mmap() syscalls.
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci	  Support for it is experimental. Use with care. If unsure,
1762306a36Sopenharmony_ci	  say N.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciconfig DVB_NET
2062306a36Sopenharmony_ci	bool "DVB Network Support"
2162306a36Sopenharmony_ci	default (NET && INET)
2262306a36Sopenharmony_ci	depends on NET && INET && DVB_CORE
2362306a36Sopenharmony_ci	help
2462306a36Sopenharmony_ci	  This option enables DVB Network Support which is a part of the DVB
2562306a36Sopenharmony_ci	  standard. It is used, for example, by automatic firmware updates used
2662306a36Sopenharmony_ci	  on Set-Top-Boxes. It can also be used to access the Internet via the
2762306a36Sopenharmony_ci	  DVB card, if the network provider supports it.
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ci	  You may want to disable the network support on embedded devices. If
3062306a36Sopenharmony_ci	  unsure say Y.
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ciconfig DVB_MAX_ADAPTERS
3362306a36Sopenharmony_ci	int "maximum number of DVB/ATSC adapters"
3462306a36Sopenharmony_ci	depends on DVB_CORE
3562306a36Sopenharmony_ci	default 16
3662306a36Sopenharmony_ci	range 1 255
3762306a36Sopenharmony_ci	help
3862306a36Sopenharmony_ci	  Maximum number of DVB/ATSC adapters. Increasing this number
3962306a36Sopenharmony_ci	  increases the memory consumption of the DVB subsystem even
4062306a36Sopenharmony_ci	  if a much lower number of DVB/ATSC adapters is present.
4162306a36Sopenharmony_ci	  Only values in the range 4-32 are tested.
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ci	  If you are unsure about this, use the default value 16
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ciconfig DVB_DYNAMIC_MINORS
4662306a36Sopenharmony_ci	bool "Dynamic DVB minor allocation"
4762306a36Sopenharmony_ci	depends on DVB_CORE
4862306a36Sopenharmony_ci	default y
4962306a36Sopenharmony_ci	help
5062306a36Sopenharmony_ci	  If you say Y here, the DVB subsystem will use dynamic minor
5162306a36Sopenharmony_ci	  allocation for any device that uses the DVB major number.
5262306a36Sopenharmony_ci	  This means that you can have more than 4 of a single type
5362306a36Sopenharmony_ci	  of device (like demuxes and frontends) per adapter, but udev
5462306a36Sopenharmony_ci	  will be required to manage the device nodes.
5562306a36Sopenharmony_ci
5662306a36Sopenharmony_ci	  If you are unsure about this, say N here.
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ciconfig DVB_DEMUX_SECTION_LOSS_LOG
5962306a36Sopenharmony_ci	bool "Enable DVB demux section packet loss log"
6062306a36Sopenharmony_ci	depends on DVB_CORE
6162306a36Sopenharmony_ci	help
6262306a36Sopenharmony_ci	  Enable extra log messages meant to detect packet loss
6362306a36Sopenharmony_ci	  inside the Kernel.
6462306a36Sopenharmony_ci
6562306a36Sopenharmony_ci	  Should not be enabled on normal cases, as logs can
6662306a36Sopenharmony_ci	  be very verbose.
6762306a36Sopenharmony_ci
6862306a36Sopenharmony_ci	  If you are unsure about this, say N here.
6962306a36Sopenharmony_ci
7062306a36Sopenharmony_ciconfig DVB_ULE_DEBUG
7162306a36Sopenharmony_ci	bool "Enable DVB net ULE packet debug messages"
7262306a36Sopenharmony_ci	depends on DVB_CORE
7362306a36Sopenharmony_ci	help
7462306a36Sopenharmony_ci	  Enable extra log messages meant to detect problems while
7562306a36Sopenharmony_ci	  handling DVB network ULE packet loss inside the Kernel.
7662306a36Sopenharmony_ci
7762306a36Sopenharmony_ci	  Should not be enabled on normal cases, as logs can
7862306a36Sopenharmony_ci	  be very verbose.
7962306a36Sopenharmony_ci
8062306a36Sopenharmony_ci	  If you are unsure about this, say N here.
81