18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# DVB device configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig DVB_MMAP
78c2ecf20Sopenharmony_ci	bool "Enable DVB memory-mapped API (EXPERIMENTAL)"
88c2ecf20Sopenharmony_ci	depends on DVB_CORE
98c2ecf20Sopenharmony_ci	depends on VIDEO_V4L2=y || VIDEO_V4L2=DVB_CORE
108c2ecf20Sopenharmony_ci	select VIDEOBUF2_VMALLOC
118c2ecf20Sopenharmony_ci	help
128c2ecf20Sopenharmony_ci	  This option enables DVB experimental memory-mapped API, which
138c2ecf20Sopenharmony_ci	  reduces the number of context switches to read DVB buffers, as
148c2ecf20Sopenharmony_ci	  the buffers can use mmap() syscalls.
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci	  Support for it is experimental. Use with care. If unsure,
178c2ecf20Sopenharmony_ci	  say N.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciconfig DVB_NET
208c2ecf20Sopenharmony_ci	bool "DVB Network Support"
218c2ecf20Sopenharmony_ci	default (NET && INET)
228c2ecf20Sopenharmony_ci	depends on NET && INET && DVB_CORE
238c2ecf20Sopenharmony_ci	help
248c2ecf20Sopenharmony_ci	  This option enables DVB Network Support which is a part of the DVB
258c2ecf20Sopenharmony_ci	  standard. It is used, for example, by automatic firmware updates used
268c2ecf20Sopenharmony_ci	  on Set-Top-Boxes. It can also be used to access the Internet via the
278c2ecf20Sopenharmony_ci	  DVB card, if the network provider supports it.
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci	  You may want to disable the network support on embedded devices. If
308c2ecf20Sopenharmony_ci	  unsure say Y.
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ciconfig DVB_MAX_ADAPTERS
338c2ecf20Sopenharmony_ci	int "maximum number of DVB/ATSC adapters"
348c2ecf20Sopenharmony_ci	depends on DVB_CORE
358c2ecf20Sopenharmony_ci	default 16
368c2ecf20Sopenharmony_ci	range 1 255
378c2ecf20Sopenharmony_ci	help
388c2ecf20Sopenharmony_ci	  Maximum number of DVB/ATSC adapters. Increasing this number
398c2ecf20Sopenharmony_ci	  increases the memory consumption of the DVB subsystem even
408c2ecf20Sopenharmony_ci	  if a much lower number of DVB/ATSC adapters is present.
418c2ecf20Sopenharmony_ci	  Only values in the range 4-32 are tested.
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci	  If you are unsure about this, use the default value 16
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ciconfig DVB_DYNAMIC_MINORS
468c2ecf20Sopenharmony_ci	bool "Dynamic DVB minor allocation"
478c2ecf20Sopenharmony_ci	depends on DVB_CORE
488c2ecf20Sopenharmony_ci	default y
498c2ecf20Sopenharmony_ci	help
508c2ecf20Sopenharmony_ci	  If you say Y here, the DVB subsystem will use dynamic minor
518c2ecf20Sopenharmony_ci	  allocation for any device that uses the DVB major number.
528c2ecf20Sopenharmony_ci	  This means that you can have more than 4 of a single type
538c2ecf20Sopenharmony_ci	  of device (like demuxes and frontends) per adapter, but udev
548c2ecf20Sopenharmony_ci	  will be required to manage the device nodes.
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ci	  If you are unsure about this, say N here.
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ciconfig DVB_DEMUX_SECTION_LOSS_LOG
598c2ecf20Sopenharmony_ci	bool "Enable DVB demux section packet loss log"
608c2ecf20Sopenharmony_ci	depends on DVB_CORE
618c2ecf20Sopenharmony_ci	help
628c2ecf20Sopenharmony_ci	  Enable extra log messages meant to detect packet loss
638c2ecf20Sopenharmony_ci	  inside the Kernel.
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ci	  Should not be enabled on normal cases, as logs can
668c2ecf20Sopenharmony_ci	  be very verbose.
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ci	  If you are unsure about this, say N here.
698c2ecf20Sopenharmony_ci
708c2ecf20Sopenharmony_ciconfig DVB_ULE_DEBUG
718c2ecf20Sopenharmony_ci	bool "Enable DVB net ULE packet debug messages"
728c2ecf20Sopenharmony_ci	depends on DVB_CORE
738c2ecf20Sopenharmony_ci	help
748c2ecf20Sopenharmony_ci	  Enable extra log messages meant to detect problems while
758c2ecf20Sopenharmony_ci	  handling DVB network ULE packet loss inside the Kernel.
768c2ecf20Sopenharmony_ci
778c2ecf20Sopenharmony_ci	  Should not be enabled on normal cases, as logs can
788c2ecf20Sopenharmony_ci	  be very verbose.
798c2ecf20Sopenharmony_ci
808c2ecf20Sopenharmony_ci	  If you are unsure about this, say N here.
81