aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-29 20:38:44 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-29 17:41:37 -0400
commit7c91f0624a9a2b8b9b122cf94fef34bc7f7347a6 (patch)
treee48220117475037125e86a3add48aa12cef7731f /drivers/media/Kconfig
parent5fe95e0b865060839449e1a61c1d5c67a4faab9a (diff)
V4L/DVB(7767): Move tuners to common/tuners
There were several issues in the past, caused by the hybrid tuner design, since now, the same tuner can be used by drivers/media/dvb and drivers/media/video. Kconfig items were rearranged, to split V4L/DVB core from their drivers. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/Kconfig')
-rw-r--r--drivers/media/Kconfig156
1 files changed, 43 insertions, 113 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index 128bb9cd5755..b5664927df91 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -5,6 +5,12 @@
5menu "Multimedia devices" 5menu "Multimedia devices"
6 depends on HAS_IOMEM 6 depends on HAS_IOMEM
7 7
8comment "Multimedia core support"
9
10#
11# V4L core and enabled API's
12#
13
8config VIDEO_DEV 14config VIDEO_DEV
9 tristate "Video For Linux" 15 tristate "Video For Linux"
10 ---help--- 16 ---help---
@@ -58,135 +64,59 @@ config VIDEO_V4L1_COMPAT
58 64
59 If you are unsure as to whether this is required, answer Y. 65 If you are unsure as to whether this is required, answer Y.
60 66
61config VIDEO_V4L2 67#
62 tristate 68# DVB Core
63 depends on VIDEO_DEV && VIDEO_V4L2_COMMON 69#
64 default VIDEO_DEV && VIDEO_V4L2_COMMON
65
66config VIDEO_V4L1
67 tristate
68 depends on VIDEO_DEV && VIDEO_V4L2_COMMON && VIDEO_ALLOW_V4L1
69 default VIDEO_DEV && VIDEO_V4L2_COMMON && VIDEO_ALLOW_V4L1
70
71source "drivers/media/video/Kconfig"
72
73source "drivers/media/radio/Kconfig"
74
75source "drivers/media/dvb/Kconfig"
76
77source "drivers/media/common/Kconfig"
78 70
79config VIDEO_TUNER 71config DVB_CORE
80 tristate 72 tristate "DVB for Linux"
81 depends on I2C 73 depends on NET && INET
82 select TUNER_XC2028 if !VIDEO_TUNER_CUSTOMIZE 74 select CRC32
83 select TUNER_MT20XX if !VIDEO_TUNER_CUSTOMIZE
84 select TUNER_TDA8290 if !VIDEO_TUNER_CUSTOMIZE
85 select TUNER_TEA5761 if !VIDEO_TUNER_CUSTOMIZE
86 select TUNER_TEA5767 if !VIDEO_TUNER_CUSTOMIZE
87 select TUNER_SIMPLE if !VIDEO_TUNER_CUSTOMIZE
88 select TUNER_TDA9887 if !VIDEO_TUNER_CUSTOMIZE
89
90menuconfig VIDEO_TUNER_CUSTOMIZE
91 bool "Customize analog tuner modules to build"
92 depends on VIDEO_TUNER
93 help 75 help
94 This allows the user to deselect tuner drivers unnecessary 76 Support Digital Video Broadcasting hardware. Enable this if you
95 for their hardware from the build. Use this option with care 77 own a DVB adapter and want to use it or if you compile Linux for
96 as deselecting tuner drivers which are in fact necessary will 78 a digital SetTopBox.
97 result in V4L devices which cannot be tuned due to lack of
98 driver support
99 79
100 If unsure say N. 80 DVB core utility functions for device handling, software fallbacks etc.
101 81 Say Y when you have a DVB card and want to use it. Say Y if your want
102if VIDEO_TUNER_CUSTOMIZE 82 to build your drivers outside the kernel, but need the DVB core. All
83 in-kernel drivers will select this automatically if needed.
103 84
104config TUNER_XC2028 85 API specs and user tools are available from <http://www.linuxtv.org/>.
105 tristate "XCeive xc2028/xc3028 tuners"
106 depends on I2C && FW_LOADER
107 default m if VIDEO_TUNER_CUSTOMIZE
108 help
109 Say Y here to include support for the xc2028/xc3028 tuners.
110 86
111config TUNER_MT20XX 87 Please report problems regarding this driver to the LinuxDVB
112 tristate "Microtune 2032 / 2050 tuners" 88 mailing list.
113 depends on I2C
114 default m if VIDEO_TUNER_CUSTOMIZE
115 help
116 Say Y here to include support for the MT2032 / MT2050 tuner.
117
118config TUNER_TDA8290
119 tristate "TDA 8290/8295 + 8275(a)/18271 tuner combo"
120 depends on I2C
121 select DVB_TDA827X
122 select DVB_TDA18271
123 default m if VIDEO_TUNER_CUSTOMIZE
124 help
125 Say Y here to include support for Philips TDA8290+8275(a) tuner.
126 89
127config TUNER_TEA5761 90 If unsure say N.
128 tristate "TEA 5761 radio tuner (EXPERIMENTAL)"
129 depends on I2C && EXPERIMENTAL
130 default m if VIDEO_TUNER_CUSTOMIZE
131 help
132 Say Y here to include support for the Philips TEA5761 radio tuner.
133
134config TUNER_TEA5767
135 tristate "TEA 5767 radio tuner"
136 depends on I2C
137 default m if VIDEO_TUNER_CUSTOMIZE
138 help
139 Say Y here to include support for the Philips TEA5767 radio tuner.
140
141config TUNER_SIMPLE
142 tristate "Simple tuner support"
143 depends on I2C
144 select TUNER_TDA9887
145 default m if VIDEO_TUNER_CUSTOMIZE
146 help
147 Say Y here to include support for various simple tuners.
148 91
149config TUNER_TDA9887 92config VIDEO_MEDIA
150 tristate "TDA 9885/6/7 analog IF demodulator" 93 tristate
151 depends on I2C 94 default DVB_CORE || VIDEO_DEV
152 default m if VIDEO_TUNER_CUSTOMIZE 95 depends on DVB_CORE || VIDEO_DEV
153 help
154 Say Y here to include support for Philips TDA9885/6/7
155 analog IF demodulator.
156 96
157endif # VIDEO_TUNER_CUSTOMIZE 97comment "Multimedia drivers"
158 98
159config VIDEOBUF_GEN 99source "drivers/media/common/Kconfig"
160 tristate
161 100
162config VIDEOBUF_DMA_SG 101#
163 depends on HAS_DMA 102# Tuner drivers for DVB and V4L
164 select VIDEOBUF_GEN 103#
165 tristate
166 104
167config VIDEOBUF_VMALLOC 105source "drivers/media/common/tuners/Kconfig"
168 select VIDEOBUF_GEN
169 tristate
170 106
171config VIDEOBUF_DVB 107#
172 tristate 108# Video/Radio/Hybrid adapters
173 select VIDEOBUF_GEN 109#
174 select VIDEOBUF_DMA_SG
175 110
176config VIDEO_BTCX 111source "drivers/media/video/Kconfig"
177 tristate
178 112
179config VIDEO_IR_I2C 113source "drivers/media/radio/Kconfig"
180 tristate
181 114
182config VIDEO_IR 115#
183 tristate 116# DVB adapters
184 depends on INPUT 117#
185 select VIDEO_IR_I2C if I2C
186 118
187config VIDEO_TVEEPROM 119source "drivers/media/dvb/Kconfig"
188 tristate
189 depends on I2C
190 120
191config DAB 121config DAB
192 boolean "DAB adapters" 122 boolean "DAB adapters"