aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/Kconfig6
-rw-r--r--drivers/media/v4l2-core/Kconfig32
-rw-r--r--drivers/media/video/Kconfig17
3 files changed, 28 insertions, 27 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index c6d8658e5334..c9cdc61e8b51 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -113,6 +113,8 @@ config VIDEO_V4L2_SUBDEV_API
113 113
114 This API is mostly used by camera interfaces in embedded platforms. 114 This API is mostly used by camera interfaces in embedded platforms.
115 115
116source "drivers/media/v4l2-core/Kconfig"
117
116# 118#
117# DVB Core 119# DVB Core
118# Only enables if one of DTV is selected 120# Only enables if one of DTV is selected
@@ -138,6 +140,8 @@ config DVB_NET
138 You may want to disable the network support on embedded devices. If 140 You may want to disable the network support on embedded devices. If
139 unsure say Y. 141 unsure say Y.
140 142
143source "drivers/media/dvb-core/Kconfig"
144
141comment "Media drivers" 145comment "Media drivers"
142source "drivers/media/rc/Kconfig" 146source "drivers/media/rc/Kconfig"
143 147
@@ -151,7 +155,6 @@ source "drivers/media/tuners/Kconfig"
151# Video/Radio/Hybrid adapters 155# Video/Radio/Hybrid adapters
152# 156#
153 157
154source "drivers/media/v4l2-core/Kconfig"
155source "drivers/media/video/Kconfig" 158source "drivers/media/video/Kconfig"
156 159
157source "drivers/media/radio/Kconfig" 160source "drivers/media/radio/Kconfig"
@@ -160,7 +163,6 @@ source "drivers/media/radio/Kconfig"
160# DVB adapters 163# DVB adapters
161# 164#
162 165
163source "drivers/media/dvb-core/Kconfig"
164source "drivers/media/pci/Kconfig" 166source "drivers/media/pci/Kconfig"
165source "drivers/media/usb/Kconfig" 167source "drivers/media/usb/Kconfig"
166source "drivers/media/mmc/Kconfig" 168source "drivers/media/mmc/Kconfig"
diff --git a/drivers/media/v4l2-core/Kconfig b/drivers/media/v4l2-core/Kconfig
index 6f53337c4b4f..05e530c0b012 100644
--- a/drivers/media/v4l2-core/Kconfig
+++ b/drivers/media/v4l2-core/Kconfig
@@ -2,27 +2,44 @@
2# Generic video config states 2# Generic video config states
3# 3#
4 4
5config VIDEO_ADV_DEBUG
6 bool "Enable advanced debug functionality on V4L2 drivers"
7 default n
8 ---help---
9 Say Y here to enable advanced debugging functionality on some
10 V4L devices.
11 In doubt, say N.
12
13config VIDEO_FIXED_MINOR_RANGES
14 bool "Enable old-style fixed minor ranges on drivers/video devices"
15 default n
16 ---help---
17 Say Y here to enable the old-style fixed-range minor assignments.
18 Only useful if you rely on the old behavior and use mknod instead of udev.
19
20 When in doubt, say N.
21
5config VIDEO_V4L2 22config VIDEO_V4L2
6 tristate 23 tristate
7 depends on VIDEO_DEV && VIDEO_V4L2_COMMON 24 depends on VIDEO_V4L2_COMMON
8 default y 25 default y
9 26
10config VIDEOBUF_GEN 27config VIDEOBUF_GEN
11 tristate 28 tristate
12 29
13config VIDEOBUF_DMA_SG 30config VIDEOBUF_DMA_SG
31 tristate
14 depends on HAS_DMA 32 depends on HAS_DMA
15 select VIDEOBUF_GEN 33 select VIDEOBUF_GEN
16 tristate
17 34
18config VIDEOBUF_VMALLOC 35config VIDEOBUF_VMALLOC
19 select VIDEOBUF_GEN
20 tristate 36 tristate
37 select VIDEOBUF_GEN
21 38
22config VIDEOBUF_DMA_CONTIG 39config VIDEOBUF_DMA_CONTIG
40 tristate
23 depends on HAS_DMA 41 depends on HAS_DMA
24 select VIDEOBUF_GEN 42 select VIDEOBUF_GEN
25 tristate
26 43
27config VIDEOBUF_DVB 44config VIDEOBUF_DVB
28 tristate 45 tristate
@@ -43,18 +60,17 @@ config VIDEOBUF2_MEMOPS
43 tristate 60 tristate
44 61
45config VIDEOBUF2_DMA_CONTIG 62config VIDEOBUF2_DMA_CONTIG
63 tristate
46 select VIDEOBUF2_CORE 64 select VIDEOBUF2_CORE
47 select VIDEOBUF2_MEMOPS 65 select VIDEOBUF2_MEMOPS
48 tristate
49 66
50config VIDEOBUF2_VMALLOC 67config VIDEOBUF2_VMALLOC
68 tristate
51 select VIDEOBUF2_CORE 69 select VIDEOBUF2_CORE
52 select VIDEOBUF2_MEMOPS 70 select VIDEOBUF2_MEMOPS
53 tristate
54 71
55config VIDEOBUF2_DMA_SG 72config VIDEOBUF2_DMA_SG
73 tristate
56 #depends on HAS_DMA 74 #depends on HAS_DMA
57 select VIDEOBUF2_CORE 75 select VIDEOBUF2_CORE
58 select VIDEOBUF2_MEMOPS 76 select VIDEOBUF2_MEMOPS
59 tristate
60
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
index f9703a0a7d65..a7bd9576ccd0 100644
--- a/drivers/media/video/Kconfig
+++ b/drivers/media/video/Kconfig
@@ -26,23 +26,6 @@ menuconfig VIDEO_CAPTURE_DRIVERS
26 26
27if VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 27if VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2
28 28
29config VIDEO_ADV_DEBUG
30 bool "Enable advanced debug functionality"
31 default n
32 ---help---
33 Say Y here to enable advanced debugging functionality on some
34 V4L devices.
35 In doubt, say N.
36
37config VIDEO_FIXED_MINOR_RANGES
38 bool "Enable old-style fixed minor ranges for video devices"
39 default n
40 ---help---
41 Say Y here to enable the old-style fixed-range minor assignments.
42 Only useful if you rely on the old behavior and use mknod instead of udev.
43
44 When in doubt, say N.
45
46config VIDEO_HELPER_CHIPS_AUTO 29config VIDEO_HELPER_CHIPS_AUTO
47 bool "Autoselect pertinent encoders/decoders and other helper chips" 30 bool "Autoselect pertinent encoders/decoders and other helper chips"
48 default y if !EXPERT 31 default y if !EXPERT