V4L/DVB (6260): Fix Kconfig dependency
[safe/jmp/linux-2.6] / drivers / media / Kconfig
1 #
2 # Multimedia device configuration
3 #
4
5 menu "Multimedia devices"
6         depends on HAS_IOMEM
7
8 config VIDEO_DEV
9         tristate "Video For Linux"
10         ---help---
11           Support for audio/video capture and overlay devices and FM radio
12           cards. The exact capabilities of each device vary.
13
14           This kernel includes support for the new Video for Linux Two API,
15           (V4L2) as well as the original system. Drivers and applications
16           need to be rewritten to use V4L2, but drivers for popular cards
17           and applications for most video capture functions already exist.
18
19           Additional info and docs are available on the web at
20           <http://linuxtv.org>
21
22           Documentation for V4L2 is also available on the web at
23           <http://bytesex.org/v4l/>.
24
25           To compile this driver as a module, choose M here: the
26           module will be called videodev.
27
28 config VIDEO_V4L1
29         bool "Enable Video For Linux API 1 (DEPRECATED)"
30         depends on VIDEO_DEV
31         select VIDEO_V4L1_COMPAT
32         default y
33         ---help---
34           Enables a compatibility API used by most V4L2 devices to allow
35           its usage with legacy applications that supports only V4L1 api.
36
37           If you are unsure as to whether this is required, answer Y.
38
39 config VIDEO_V4L1_COMPAT
40         bool "Enable Video For Linux API 1 compatible Layer"
41         depends on VIDEO_DEV
42         default y
43         ---help---
44           This api were developed to be used at Kernel 2.2 and 2.4, but
45           lacks support for several video standards. There are several
46           drivers at kernel that still depends on it.
47
48           Documentation for the original API is included in the file
49           <Documentation/video4linux/API.html>.
50
51           User tools for this are available from
52           <ftp://ftp.uk.linux.org/pub/linux/video4linux/>.
53
54           If you are unsure as to whether this is required, answer Y.
55
56 config VIDEO_V4L2
57         bool
58         depends on VIDEO_DEV
59         default y
60
61 source "drivers/media/video/Kconfig"
62
63 source "drivers/media/radio/Kconfig"
64
65 source "drivers/media/dvb/Kconfig"
66
67 source "drivers/media/common/Kconfig"
68
69 config VIDEO_TUNER
70         tristate
71         depends on I2C
72         select TUNER_MT20XX if !VIDEO_TUNER_CUSTOMIZE
73         select TUNER_TDA8290 if !VIDEO_TUNER_CUSTOMIZE
74         select TUNER_TEA5761 if !VIDEO_TUNER_CUSTOMIZE
75         select TUNER_TEA5767 if !VIDEO_TUNER_CUSTOMIZE
76         select TUNER_SIMPLE if !VIDEO_TUNER_CUSTOMIZE
77
78 menuconfig VIDEO_TUNER_CUSTOMIZE
79         bool "Customize analog tuner modules to build"
80         depends on VIDEO_TUNER
81         help
82           This allows the user to deselect tuner drivers unnecessary
83           for their hardware from the build. Use this option with care
84           as deselecting tuner drivers which are in fact necessary will
85           result in V4L devices which cannot be tuned due to lack of
86           driver support
87
88           If unsure say N.
89
90 if VIDEO_TUNER_CUSTOMIZE
91
92 config TUNER_MT20XX
93         tristate "Microtune 2032 / 2050 tuners"
94         depends on I2C
95         default m if VIDEO_TUNER_CUSTOMIZE
96         help
97           Say Y here to include support for the MT2032 / MT2050 tuner.
98
99 config TUNER_TDA8290
100         tristate "TDA 8290+8275(a) tuner combo"
101         depends on I2C
102         default m if VIDEO_TUNER_CUSTOMIZE
103         help
104           Say Y here to include support for Philips TDA8290+8275(a) tuner.
105
106 config TUNER_TEA5761
107         tristate "TEA 5761 radio tuner (EXPERIMENTAL)"
108         depends on I2C && EXPERIMENTAL
109         default m if VIDEO_TUNER_CUSTOMIZE
110         help
111           Say Y here to include support for the Philips TEA5761 radio tuner.
112
113 config TUNER_TEA5767
114         tristate "TEA 5767 radio tuner"
115         depends on I2C
116         default m if VIDEO_TUNER_CUSTOMIZE
117         help
118           Say Y here to include support for the Philips TEA5767 radio tuner.
119
120 config TUNER_SIMPLE
121         tristate "Simple tuner support"
122         depends on I2C
123         default m if VIDEO_TUNER_CUSTOMIZE
124         help
125           Say Y here to include support for various simple tuners.
126
127 endif # VIDEO_TUNER_CUSTOMIZE
128
129 config VIDEOBUF_GEN
130         tristate
131
132 config VIDEOBUF_DMA_SG
133         depends on PCI
134         select VIDEOBUF_GEN
135         tristate
136
137 config VIDEOBUF_VMALLOC
138         select VIDEOBUF_GEN
139         tristate
140
141 config VIDEOBUF_DVB
142         tristate
143
144 config VIDEO_BTCX
145         tristate
146
147 config VIDEO_IR_I2C
148         tristate
149
150 config VIDEO_IR
151         tristate
152         select VIDEO_IR_I2C if I2C
153
154 config VIDEO_TVEEPROM
155         tristate
156         depends on I2C
157
158 config DAB
159         boolean "DAB adapters"
160         default y
161         ---help---
162           Allow selecting support for for Digital Audio Broadcasting (DAB)
163           Receiver adapters.
164
165 if DAB
166 config USB_DABUSB
167         tristate "DABUSB driver"
168         depends on USB
169         ---help---
170           A Digital Audio Broadcasting (DAB) Receiver for USB and Linux
171           brought to you by the DAB-Team
172           <http://wwwbode.cs.tum.edu/Par/arch/dab/>.  This driver can be taken
173           as an example for URB-based bulk, control, and isochronous
174           transactions. URB's are explained in
175           <Documentation/usb/URB.txt>.
176
177           To compile this driver as a module, choose M here: the
178           module will be called dabusb.
179 endif # DAB
180
181 endmenu