aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-08-22 14:38:18 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-09-26 11:30:33 -0400
commitfe9b5bb5e57a92df74bd7bc6a79a04671a65dddd (patch)
treea9a17499d1c2342a2ceba66d3377455fdd088728 /drivers
parent6e40773a9b8fe196720b913cff31a346a39483e2 (diff)
V4L/DVB (4516): Split audio/video encoders/decoders from main drivers
Several audio/video encoders/decoders were just bound as if they were part of the core driver. In fact, they are generic enough to be used by other drivers as well, since they use I2C event bus to communicate. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/Kconfig17
-rw-r--r--drivers/media/video/Makefile37
2 files changed, 31 insertions, 23 deletions
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
index 31a564655bda..a2fda43e8075 100644
--- a/drivers/media/video/Kconfig
+++ b/drivers/media/video/Kconfig
@@ -135,7 +135,7 @@ source "drivers/media/video/cpia2/Kconfig"
135 135
136config VIDEO_SAA5246A 136config VIDEO_SAA5246A
137 tristate "SAA5246A, SAA5281 Teletext processor" 137 tristate "SAA5246A, SAA5281 Teletext processor"
138 depends on I2C && VIDEO_V4L1 138 depends on I2C && VIDEO_V4L2
139 help 139 help
140 Support for I2C bus based teletext using the SAA5246A or SAA5281 140 Support for I2C bus based teletext using the SAA5246A or SAA5281
141 chip. Useful only if you live in Europe. 141 chip. Useful only if you live in Europe.
@@ -145,7 +145,7 @@ config VIDEO_SAA5246A
145 145
146config VIDEO_SAA5249 146config VIDEO_SAA5249
147 tristate "SAA5249 Teletext processor" 147 tristate "SAA5249 Teletext processor"
148 depends on VIDEO_DEV && I2C && VIDEO_V4L1 148 depends on VIDEO_DEV && I2C && VIDEO_V4L2
149 help 149 help
150 Support for I2C bus based teletext using the SAA5249 chip. At the 150 Support for I2C bus based teletext using the SAA5249 chip. At the
151 moment this is only useful on some European WinTV cards. 151 moment this is only useful on some European WinTV cards.
@@ -162,7 +162,7 @@ config TUNER_3036
162 162
163config VIDEO_VINO 163config VIDEO_VINO
164 tristate "SGI Vino Video For Linux (EXPERIMENTAL)" 164 tristate "SGI Vino Video For Linux (EXPERIMENTAL)"
165 depends on I2C && SGI_IP22 && EXPERIMENTAL && VIDEO_V4L1 165 depends on I2C && SGI_IP22 && EXPERIMENTAL && VIDEO_V4L2
166 select I2C_ALGO_SGI 166 select I2C_ALGO_SGI
167 help 167 help
168 Say Y here to build in support for the Vino video input system found 168 Say Y here to build in support for the Vino video input system found
@@ -260,7 +260,7 @@ source "drivers/media/video/saa7134/Kconfig"
260 260
261config VIDEO_MXB 261config VIDEO_MXB
262 tristate "Siemens-Nixdorf 'Multimedia eXtension Board'" 262 tristate "Siemens-Nixdorf 'Multimedia eXtension Board'"
263 depends on PCI && VIDEO_V4L1 && I2C 263 depends on PCI && VIDEO_V4L1
264 select VIDEO_SAA7146_VV 264 select VIDEO_SAA7146_VV
265 select VIDEO_TUNER 265 select VIDEO_TUNER
266 ---help--- 266 ---help---
@@ -272,9 +272,8 @@ config VIDEO_MXB
272 272
273config VIDEO_DPC 273config VIDEO_DPC
274 tristate "Philips-Semiconductors 'dpc7146 demonstration board'" 274 tristate "Philips-Semiconductors 'dpc7146 demonstration board'"
275 depends on PCI && VIDEO_V4L1 && I2C 275 depends on PCI && VIDEO_V4L1
276 select VIDEO_SAA7146_VV 276 select VIDEO_SAA7146_VV
277 select VIDEO_V4L2
278 ---help--- 277 ---help---
279 This is a video4linux driver for the 'dpc7146 demonstration 278 This is a video4linux driver for the 'dpc7146 demonstration
280 board' by Philips-Semiconductors. It's the reference design 279 board' by Philips-Semiconductors. It's the reference design
@@ -287,9 +286,8 @@ config VIDEO_DPC
287 286
288config VIDEO_HEXIUM_ORION 287config VIDEO_HEXIUM_ORION
289 tristate "Hexium HV-PCI6 and Orion frame grabber" 288 tristate "Hexium HV-PCI6 and Orion frame grabber"
290 depends on PCI && VIDEO_V4L1 && I2C 289 depends on PCI && VIDEO_V4L2
291 select VIDEO_SAA7146_VV 290 select VIDEO_SAA7146_VV
292 select VIDEO_V4L2
293 ---help--- 291 ---help---
294 This is a video4linux driver for the Hexium HV-PCI6 and 292 This is a video4linux driver for the Hexium HV-PCI6 and
295 Orion frame grabber cards by Hexium. 293 Orion frame grabber cards by Hexium.
@@ -299,9 +297,8 @@ config VIDEO_HEXIUM_ORION
299 297
300config VIDEO_HEXIUM_GEMINI 298config VIDEO_HEXIUM_GEMINI
301 tristate "Hexium Gemini frame grabber" 299 tristate "Hexium Gemini frame grabber"
302 depends on PCI && VIDEO_V4L1 && I2C 300 depends on PCI && VIDEO_V4L2
303 select VIDEO_SAA7146_VV 301 select VIDEO_SAA7146_VV
304 select VIDEO_V4L2
305 ---help--- 302 ---help---
306 This is a video4linux driver for the Hexium Gemini frame 303 This is a video4linux driver for the Hexium Gemini frame
307 grabber card by Hexium. Please note that the Gemini Dual 304 grabber card by Hexium. Please note that the Gemini Dual
diff --git a/drivers/media/video/Makefile b/drivers/media/video/Makefile
index d2753d10745d..eecbede6c4b4 100644
--- a/drivers/media/video/Makefile
+++ b/drivers/media/video/Makefile
@@ -30,17 +30,31 @@ obj-$(CONFIG_VIDEO_SAA5249) += saa5249.o
30obj-$(CONFIG_VIDEO_CQCAM) += c-qcam.o 30obj-$(CONFIG_VIDEO_CQCAM) += c-qcam.o
31obj-$(CONFIG_VIDEO_BWQCAM) += bw-qcam.o 31obj-$(CONFIG_VIDEO_BWQCAM) += bw-qcam.o
32obj-$(CONFIG_VIDEO_W9966) += w9966.o 32obj-$(CONFIG_VIDEO_W9966) += w9966.o
33obj-$(CONFIG_VIDEO_ZORAN_BUZ) += saa7111.o saa7185.o zr36060.o 33
34obj-$(CONFIG_VIDEO_ZORAN_DC10) += saa7110.o adv7175.o zr36060.o 34obj-$(CONFIG_VIDEO_TDA9840) += tda9840.o
35obj-$(CONFIG_VIDEO_ZORAN_DC30) += adv7175.o vpx3220.o zr36050.o \ 35obj-$(CONFIG_VIDEO_TEA6415C) += tea6415c.o
36 zr36016.o 36obj-$(CONFIG_VIDEO_TEA6420) += tea6420.o
37obj-$(CONFIG_VIDEO_ZORAN_LML33) += bt819.o bt856.o zr36060.o 37obj-$(CONFIG_VIDEO_SAA7110) += saa7110.o
38obj-$(CONFIG_VIDEO_ZORAN_LML33R10) += saa7114.o adv7170.o zr36060.o 38obj-$(CONFIG_VIDEO_SAA7111) += saa7111.o
39obj-$(CONFIG_VIDEO_ZORAN_AVS6EYES) += bt866.o ks0127.o zr36060.o 39obj-$(CONFIG_VIDEO_SAA7114) += saa7114.o
40obj-$(CONFIG_VIDEO_SAA711X) += saa7115.o
41obj-$(CONFIG_VIDEO_SAA7127) += saa7127.o
42obj-$(CONFIG_VIDEO_SAA7185) += saa7185.o
43obj-$(CONFIG_VIDEO_SAA7191) += saa7191.o
44obj-$(CONFIG_VIDEO_ADV7170) += adv7170.o
45obj-$(CONFIG_VIDEO_ADV7175) += adv7175.o
46obj-$(CONFIG_VIDEO_VPX3220) += vpx3220.o
47obj-$(CONFIG_VIDEO_BT819) += bt819.o
48obj-$(CONFIG_VIDEO_BT856) += bt856.o
49obj-$(CONFIG_VIDEO_BT866) += bt866.o
50
40obj-$(CONFIG_VIDEO_ZORAN) += zr36067.o videocodec.o 51obj-$(CONFIG_VIDEO_ZORAN) += zr36067.o videocodec.o
52obj-$(CONFIG_VIDEO_ZORAN_DC30) += zr36050.o zr36016.o
53obj-$(CONFIG_VIDEO_ZORAN_ZR36060) += zr36060.o
54
41obj-$(CONFIG_VIDEO_PMS) += pms.o 55obj-$(CONFIG_VIDEO_PMS) += pms.o
42obj-$(CONFIG_VIDEO_PLANB) += planb.o 56obj-$(CONFIG_VIDEO_PLANB) += planb.o
43obj-$(CONFIG_VIDEO_VINO) += vino.o saa7191.o indycam.o 57obj-$(CONFIG_VIDEO_VINO) += vino.o indycam.o
44obj-$(CONFIG_VIDEO_STRADIS) += stradis.o 58obj-$(CONFIG_VIDEO_STRADIS) += stradis.o
45obj-$(CONFIG_VIDEO_CPIA) += cpia.o 59obj-$(CONFIG_VIDEO_CPIA) += cpia.o
46obj-$(CONFIG_VIDEO_CPIA_PP) += cpia_pp.o 60obj-$(CONFIG_VIDEO_CPIA_PP) += cpia_pp.o
@@ -58,10 +72,10 @@ obj-$(CONFIG_VIDEO_WM8775) += wm8775.o
58obj-$(CONFIG_VIDEO_WM8739) += wm8739.o 72obj-$(CONFIG_VIDEO_WM8739) += wm8739.o
59obj-$(CONFIG_VIDEO_OVCAMCHIP) += ovcamchip/ 73obj-$(CONFIG_VIDEO_OVCAMCHIP) += ovcamchip/
60obj-$(CONFIG_VIDEO_CPIA2) += cpia2/ 74obj-$(CONFIG_VIDEO_CPIA2) += cpia2/
61obj-$(CONFIG_VIDEO_MXB) += saa7111.o tda9840.o tea6415c.o tea6420.o mxb.o 75obj-$(CONFIG_VIDEO_MXB) += mxb.o
62obj-$(CONFIG_VIDEO_HEXIUM_ORION) += hexium_orion.o 76obj-$(CONFIG_VIDEO_HEXIUM_ORION) += hexium_orion.o
63obj-$(CONFIG_VIDEO_HEXIUM_GEMINI) += hexium_gemini.o 77obj-$(CONFIG_VIDEO_HEXIUM_GEMINI) += hexium_gemini.o
64obj-$(CONFIG_VIDEO_DPC) += saa7111.o dpc7146.o 78obj-$(CONFIG_VIDEO_DPC) += dpc7146.o
65obj-$(CONFIG_TUNER_3036) += tuner-3036.o 79obj-$(CONFIG_TUNER_3036) += tuner-3036.o
66 80
67obj-$(CONFIG_VIDEO_TUNER) += tuner.o 81obj-$(CONFIG_VIDEO_TUNER) += tuner.o
@@ -73,8 +87,6 @@ obj-$(CONFIG_VIDEO_TVEEPROM) += tveeprom.o
73obj-$(CONFIG_VIDEO_M32R_AR_M64278) += arv.o 87obj-$(CONFIG_VIDEO_M32R_AR_M64278) += arv.o
74 88
75obj-$(CONFIG_VIDEO_CX25840) += cx25840/ 89obj-$(CONFIG_VIDEO_CX25840) += cx25840/
76obj-$(CONFIG_VIDEO_SAA711X) += saa7115.o
77obj-$(CONFIG_VIDEO_SAA7127) += saa7127.o
78obj-$(CONFIG_VIDEO_UPD64031A) += upd64031a.o 90obj-$(CONFIG_VIDEO_UPD64031A) += upd64031a.o
79obj-$(CONFIG_VIDEO_UPD64083) += upd64083.o 91obj-$(CONFIG_VIDEO_UPD64083) += upd64083.o
80obj-$(CONFIG_VIDEO_CX2341X) += cx2341x.o 92obj-$(CONFIG_VIDEO_CX2341X) += cx2341x.o
@@ -99,4 +111,3 @@ obj-$(CONFIG_VIDEO_VIVI) += vivi.o
99 111
100EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core 112EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core
101extra-cflags-$(CONFIG_VIDEO_V4L1_COMPAT) += -DCONFIG_VIDEO_V4L1_COMPAT 113extra-cflags-$(CONFIG_VIDEO_V4L1_COMPAT) += -DCONFIG_VIDEO_V4L1_COMPAT
102