V4L/DVB (7898): Fix VIDEO_MEDIA Kconfig logic
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / media / Kconfig
1 #
2 # Multimedia device configuration
3 #
4
5 menu "Multimedia devices"
6 depends on HAS_IOMEM
7
8 comment "Multimedia core support"
9
10 #
11 # V4L core and enabled API's
12 #
13
14 config VIDEO_DEV
15 tristate "Video For Linux"
16 ---help---
17 V4L core support for video capture and overlay devices, webcams and
18 AM/FM radio cards.
19
20 This kernel includes support for the new Video for Linux Two API,
21 (V4L2).
22
23 Additional info and docs are available on the web at
24 <http://linuxtv.org>
25
26 Documentation for V4L2 is also available on the web at
27 <http://bytesex.org/v4l/>.
28
29 To compile this driver as a module, choose M here: the
30 module will be called videodev.
31
32 config VIDEO_V4L2_COMMON
33 tristate
34 depends on (I2C || I2C=n) && VIDEO_DEV
35 default (I2C || I2C=n) && VIDEO_DEV
36
37 config VIDEO_ALLOW_V4L1
38 bool "Enable Video For Linux API 1 (DEPRECATED)"
39 depends on VIDEO_DEV && VIDEO_V4L2_COMMON
40 default VIDEO_DEV && VIDEO_V4L2_COMMON
41 select VIDEO_V4L1_COMPAT
42 ---help---
43 Enables drivers based on the legacy V4L1 API.
44
45 This api were developed to be used at Kernel 2.2 and 2.4, but
46 lacks support for several video standards. There are several
47 drivers at kernel that still depends on it.
48
49 If you are unsure as to whether this is required, answer Y.
50
51 config VIDEO_V4L1_COMPAT
52 bool "Enable Video For Linux API 1 compatible Layer"
53 depends on VIDEO_DEV
54 default VIDEO_DEV
55 ---help---
56 Enables a compatibility API used by most V4L2 devices to allow
57 its usage with legacy applications that supports only V4L1 api.
58
59 Documentation for the original API is included in the file
60 <Documentation/video4linux/API.html>.
61
62 User tools for this are available from
63 <ftp://ftp.uk.linux.org/pub/linux/video4linux/>.
64
65 If you are unsure as to whether this is required, answer Y.
66
67 #
68 # DVB Core
69 #
70
71 config DVB_CORE
72 tristate "DVB for Linux"
73 depends on NET && INET
74 select CRC32
75 help
76 DVB core utility functions for device handling, software fallbacks etc.
77
78 Enable this if you own a DVB/ATSC adapter and want to use it or if
79 you compile Linux for a digital SetTopBox.
80
81 Say Y when you have a DVB or an ATSC card and want to use it.
82
83 API specs and user tools are available from <http://www.linuxtv.org/>.
84
85 Please report problems regarding this support to the LinuxDVB
86 mailing list.
87
88 If unsure say N.
89
90 config VIDEO_MEDIA
91 tristate
92 default (DVB_CORE && (VIDEO_DEV = n)) || (VIDEO_DEV && (DVB_CORE = n)) || (DVB_CORE && VIDEO_DEV)
93
94 comment "Multimedia drivers"
95
96 source "drivers/media/common/Kconfig"
97
98 #
99 # Tuner drivers for DVB and V4L
100 #
101
102 source "drivers/media/common/tuners/Kconfig"
103
104 #
105 # Video/Radio/Hybrid adapters
106 #
107
108 source "drivers/media/video/Kconfig"
109
110 source "drivers/media/radio/Kconfig"
111
112 #
113 # DVB adapters
114 #
115
116 source "drivers/media/dvb/Kconfig"
117
118 config DAB
119 boolean "DAB adapters"
120 ---help---
121 Allow selecting support for for Digital Audio Broadcasting (DAB)
122 Receiver adapters.
123
124 if DAB
125 config USB_DABUSB
126 tristate "DABUSB driver"
127 depends on USB
128 ---help---
129 A Digital Audio Broadcasting (DAB) Receiver for USB and Linux
130 brought to you by the DAB-Team
131 <http://wwwbode.cs.tum.edu/Par/arch/dab/>. This driver can be taken
132 as an example for URB-based bulk, control, and isochronous
133 transactions. URB's are explained in
134 <Documentation/usb/URB.txt>.
135
136 To compile this driver as a module, choose M here: the
137 module will be called dabusb.
138 endif # DAB
139
140 endmenu