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