Skip to content

Commit

Permalink
media: Kconfig: move DVB-specific options to dvb-core/Kconfig
Browse files Browse the repository at this point in the history
In order to cleanup the main media Kconfig, move the DVB-core
specific options to dvb-core/Kconfig.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
mchehab committed Apr 14, 2020
1 parent f199141 commit 10713a9
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 21 deletions.
21 changes: 0 additions & 21 deletions drivers/media/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -161,31 +161,10 @@ config DVB_CORE
default y
select CRC32

config DVB_MMAP
bool "Enable DVB memory-mapped API (EXPERIMENTAL)"
depends on DVB_CORE
depends on VIDEO_V4L2=y || VIDEO_V4L2=DVB_CORE
select VIDEOBUF2_VMALLOC
help
This option enables DVB experimental memory-mapped API, which
reduces the number of context switches to read DVB buffers, as
the buffers can use mmap() syscalls.

Support for it is experimental. Use with care. If unsure,
say N.

config DVB_NET
bool "DVB Network Support"
default (NET && INET)
depends on NET && INET && DVB_CORE
help
This option enables DVB Network Support which is a part of the DVB
standard. It is used, for example, by automatic firmware updates used
on Set-Top-Boxes. It can also be used to access the Internet via the
DVB card, if the network provider supports it.

You may want to disable the network support on embedded devices. If
unsure say Y.

source "drivers/media/v4l2-core/Kconfig"
source "drivers/media/mc/Kconfig"
Expand Down
26 changes: 26 additions & 0 deletions drivers/media/dvb-core/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,32 @@
# DVB device configuration
#

config DVB_MMAP
bool "Enable DVB memory-mapped API (EXPERIMENTAL)"
depends on DVB_CORE
depends on VIDEO_V4L2=y || VIDEO_V4L2=DVB_CORE
select VIDEOBUF2_VMALLOC
help
This option enables DVB experimental memory-mapped API, which
reduces the number of context switches to read DVB buffers, as
the buffers can use mmap() syscalls.

Support for it is experimental. Use with care. If unsure,
say N.

config DVB_NET
bool "DVB Network Support"
default (NET && INET)
depends on NET && INET && DVB_CORE
help
This option enables DVB Network Support which is a part of the DVB
standard. It is used, for example, by automatic firmware updates used
on Set-Top-Boxes. It can also be used to access the Internet via the
DVB card, if the network provider supports it.

You may want to disable the network support on embedded devices. If
unsure say Y.

config DVB_MAX_ADAPTERS
int "maximum number of DVB/ATSC adapters"
depends on DVB_CORE
Expand Down

0 comments on commit 10713a9

Please sign in to comment.