V4L/DVB (4518): Allow manually selecting the proper helper drivers

There are several boards on V4L that can work with several different
helper modules for audio/video encoding/decoding and similar stuff.
This patch adds the capability of choicing between autoselecting the
pertinent helper modules for each driver, or to manually selecting
them.
Acked-by: Michael Krufky <mkrufky@linuxtv.org>
Acked-by: Mike Isely <isely@pobox.com>

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
Mauro Carvalho Chehab 2006-08-22 18:49:17 -03:00
parent fe9b5bb5e5
commit faa1cb2039
4 changed files with 180 additions and 10 deletions

View file

@ -164,6 +164,7 @@ config VIDEO_VINO
tristate "SGI Vino Video For Linux (EXPERIMENTAL)" tristate "SGI Vino Video For Linux (EXPERIMENTAL)"
depends on I2C && SGI_IP22 && EXPERIMENTAL && VIDEO_V4L2 depends on I2C && SGI_IP22 && EXPERIMENTAL && VIDEO_V4L2
select I2C_ALGO_SGI select I2C_ALGO_SGI
select VIDEO_SAA7191
help help
Say Y here to build in support for the Vino video input system found Say Y here to build in support for the Vino video input system found
on SGI Indy machines. on SGI Indy machines.
@ -176,6 +177,9 @@ config VIDEO_STRADIS
driver for PCI. There is a product page at driver for PCI. There is a product page at
<http://www.stradis.com/>. <http://www.stradis.com/>.
config VIDEO_ZORAN_ZR36060
tristate
config VIDEO_ZORAN config VIDEO_ZORAN
tristate "Zoran ZR36057/36067 Video For Linux" tristate "Zoran ZR36057/36067 Video For Linux"
depends on PCI && I2C_ALGOBIT && VIDEO_V4L1 && !PPC64 depends on PCI && I2C_ALGOBIT && VIDEO_V4L1 && !PPC64
@ -192,12 +196,18 @@ config VIDEO_ZORAN
config VIDEO_ZORAN_BUZ config VIDEO_ZORAN_BUZ
tristate "Iomega Buz support" tristate "Iomega Buz support"
depends on VIDEO_ZORAN depends on VIDEO_ZORAN
select VIDEO_SAA7111
select VIDEO_SAA7185
select VIDEO_ZORAN_ZR36060
help help
Support for the Iomega Buz MJPEG capture/playback card. Support for the Iomega Buz MJPEG capture/playback card.
config VIDEO_ZORAN_DC10 config VIDEO_ZORAN_DC10
tristate "Pinnacle/Miro DC10(+) support" tristate "Pinnacle/Miro DC10(+) support"
depends on VIDEO_ZORAN depends on VIDEO_ZORAN
select VIDEO_SAA7110
select VIDEO_ADV7175
select VIDEO_ZORAN_ZR36060
help help
Support for the Pinnacle/Miro DC10(+) MJPEG capture/playback Support for the Pinnacle/Miro DC10(+) MJPEG capture/playback
card. card.
@ -205,6 +215,8 @@ config VIDEO_ZORAN_DC10
config VIDEO_ZORAN_DC30 config VIDEO_ZORAN_DC30
tristate "Pinnacle/Miro DC30(+) support" tristate "Pinnacle/Miro DC30(+) support"
depends on VIDEO_ZORAN depends on VIDEO_ZORAN
select VIDEO_ADV7175
select VIDEO_VPX3220
help help
Support for the Pinnacle/Miro DC30(+) MJPEG capture/playback Support for the Pinnacle/Miro DC30(+) MJPEG capture/playback
card. This also supports really old DC10 cards based on the card. This also supports really old DC10 cards based on the
@ -213,6 +225,9 @@ config VIDEO_ZORAN_DC30
config VIDEO_ZORAN_LML33 config VIDEO_ZORAN_LML33
tristate "Linux Media Labs LML33 support" tristate "Linux Media Labs LML33 support"
depends on VIDEO_ZORAN depends on VIDEO_ZORAN
select VIDEO_BT819
select VIDEO_BT856
select VIDEO_ZORAN_ZR36060
help help
Support for the Linux Media Labs LML33 MJPEG capture/playback Support for the Linux Media Labs LML33 MJPEG capture/playback
card. card.
@ -220,6 +235,9 @@ config VIDEO_ZORAN_LML33
config VIDEO_ZORAN_LML33R10 config VIDEO_ZORAN_LML33R10
tristate "Linux Media Labs LML33R10 support" tristate "Linux Media Labs LML33R10 support"
depends on VIDEO_ZORAN depends on VIDEO_ZORAN
select VIDEO_SAA7114
select VIDEO_ADV7170
select VIDEO_ZORAN_ZR36060
help help
support for the Linux Media Labs LML33R10 MJPEG capture/playback support for the Linux Media Labs LML33R10 MJPEG capture/playback
card. card.
@ -227,6 +245,9 @@ config VIDEO_ZORAN_LML33R10
config VIDEO_ZORAN_AVS6EYES config VIDEO_ZORAN_AVS6EYES
tristate "AverMedia 6 Eyes support (EXPERIMENTAL)" tristate "AverMedia 6 Eyes support (EXPERIMENTAL)"
depends on VIDEO_ZORAN && EXPERIMENTAL && VIDEO_V4L1 depends on VIDEO_ZORAN && EXPERIMENTAL && VIDEO_V4L1
select VIDEO_BT856
select VIDEO_KS0127
select VIDEO_ZORAN_ZR36060
help help
Support for the AverMedia 6 Eyes video surveillance card. Support for the AverMedia 6 Eyes video surveillance card.
@ -263,6 +284,10 @@ config VIDEO_MXB
depends on PCI && VIDEO_V4L1 depends on PCI && VIDEO_V4L1
select VIDEO_SAA7146_VV select VIDEO_SAA7146_VV
select VIDEO_TUNER select VIDEO_TUNER
select VIDEO_SAA7111
select VIDEO_TDA9840
select VIDEO_TEA6415C
select VIDEO_TEA6420
---help--- ---help---
This is a video4linux driver for the 'Multimedia eXtension Board' This is a video4linux driver for the 'Multimedia eXtension Board'
TV card by Siemens-Nixdorf. TV card by Siemens-Nixdorf.
@ -274,6 +299,7 @@ config VIDEO_DPC
tristate "Philips-Semiconductors 'dpc7146 demonstration board'" tristate "Philips-Semiconductors 'dpc7146 demonstration board'"
depends on PCI && VIDEO_V4L1 depends on PCI && VIDEO_V4L1
select VIDEO_SAA7146_VV select VIDEO_SAA7146_VV
select VIDEO_SAA7111
---help--- ---help---
This is a video4linux driver for the 'dpc7146 demonstration This is a video4linux driver for the 'dpc7146 demonstration
board' by Philips-Semiconductors. It's the reference design board' by Philips-Semiconductors. It's the reference design
@ -356,6 +382,15 @@ config VIDEO_TDA7432
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called tda7432. module will be called tda7432.
config VIDEO_TDA9840
tristate "Support for tda9840 chip"
depends on VIDEO_DEV && I2C
---help---
Support for tda9840 audio decoder chip found on some Zoran boards.
To compile this driver as a module, choose M here: the
module will be called tda9840.
config VIDEO_TDA9875 config VIDEO_TDA9875
tristate "Support for tda9875 chip" tristate "Support for tda9875 chip"
depends on VIDEO_DEV && I2C depends on VIDEO_DEV && I2C
@ -365,6 +400,24 @@ config VIDEO_TDA9875
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called tda9875. module will be called tda9875.
config VIDEO_TEA6415C
tristate "Support for tea6415c chip"
depends on VIDEO_DEV && I2C
---help---
Support for tea6415c audio decoder chip found on some bt8xx boards.
To compile this driver as a module, choose M here: the
module will be called tea6415c.
config VIDEO_TEA6420
tristate "Support for tea6420 chip"
depends on VIDEO_DEV && I2C
---help---
Support for tea6420 audio decoder chip found on some bt8xx boards.
To compile this driver as a module, choose M here: the
module will be called tea6420.
config VIDEO_MSP3400 config VIDEO_MSP3400
tristate "Micronas MSP34xx audio decoders" tristate "Micronas MSP34xx audio decoders"
depends on VIDEO_DEV && I2C depends on VIDEO_DEV && I2C
@ -413,7 +466,7 @@ config VIDEO_WM8739
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called wm8739. module will be called wm8739.
comment "Video encoders" comment "MPEG video encoders"
config VIDEO_CX2341X config VIDEO_CX2341X
tristate "Conexant CX2341x MPEG encoders" tristate "Conexant CX2341x MPEG encoders"
@ -429,6 +482,17 @@ config VIDEO_CX2341X
source "drivers/media/video/cx25840/Kconfig" source "drivers/media/video/cx25840/Kconfig"
config VIDEO_SAA7185
tristate "Philips SAA7185 video encoder"
depends on VIDEO_DEV && I2C
---help---
Support for the Philips SAA7185 video encoder.
To compile this driver as a module, choose M here: the
module will be called saa7185.
comment "Video encoders"
config VIDEO_SAA7127 config VIDEO_SAA7127
tristate "Philips SAA7127/9 digital video encoders" tristate "Philips SAA7127/9 digital video encoders"
depends on VIDEO_V4L2 && I2C && EXPERIMENTAL depends on VIDEO_V4L2 && I2C && EXPERIMENTAL
@ -438,8 +502,82 @@ config VIDEO_SAA7127
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called saa7127. module will be called saa7127.
config VIDEO_ADV7170
tristate "Analog Devices ADV7170 video encoder driver"
depends on VIDEO_V4L2 && I2C
---help---
Support for the Analog Devices ADV7170 video encoder driver
To compile this driver as a module, choose M here: the
module will be called adv7170.
config VIDEO_ADV7175
tristate "Analog Devices ADV7175 video encoder driver"
depends on VIDEO_V4L2 && I2C
---help---
Support for the Analog Devices ADV7175 video encoder driver
To compile this driver as a module, choose M here: the
module will be called adv7175.
comment "Video decoders" comment "Video decoders"
config VIDEO_BT819
tristate "BT819A VideoStream Decoder"
depends on VIDEO_DEV && I2C
---help---
Support for BT819A video decoder.
To compile this driver as a module, choose M here: the
module will be called bt819.
config VIDEO_BT856
tristate "BT856 VideoStream Decoder"
depends on VIDEO_DEV && I2C
---help---
Support for BT856 video decoder.
To compile this driver as a module, choose M here: the
module will be called bt856.
config VIDEO_BT866
tristate "BT866 VideoStream Decoder"
depends on VIDEO_DEV && I2C
---help---
Support for BT866 video decoder.
To compile this driver as a module, choose M here: the
module will be called bt866.
config VIDEO_SAA7110
tristate "Philips SAA7110 video decoder"
depends on VIDEO_DEV
---help---
Support for the Philips SAA7110 video decoders.
To compile this driver as a module, choose M here: the
module will be called saa7110.
config VIDEO_SAA7111
tristate "Philips SAA7111 video decoder"
depends on VIDEO_DEV && I2C
---help---
Support for the Philips SAA711 video decoder.
To compile this driver as a module, choose M here: the
module will be called saa7111.
config VIDEO_SAA7114
tristate "Philips SAA7114 video decoder"
depends on VIDEO_DEV && I2C
---help---
Support for the Philips SAA7114 video decoder. This driver
is used only on Zoran driver and should be moved soon to
SAA711x module.
To compile this driver as a module, choose M here: the
module will be called saa7114.
config VIDEO_SAA711X config VIDEO_SAA711X
tristate "Philips SAA7113/4/5 video decoders" tristate "Philips SAA7113/4/5 video decoders"
depends on VIDEO_DEV && I2C && EXPERIMENTAL depends on VIDEO_DEV && I2C && EXPERIMENTAL
@ -449,6 +587,15 @@ config VIDEO_SAA711X
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called saa7115. module will be called saa7115.
config VIDEO_SAA7191
tristate "Philips SAA7191 video decoder"
depends on VIDEO_DEV && I2C
---help---
Support for the Philips SAA7191 video decoder.
To compile this driver as a module, choose M here: the
module will be called saa7191.
config VIDEO_TVP5150 config VIDEO_TVP5150
tristate "Texas Instruments TVP5150 video decoder" tristate "Texas Instruments TVP5150 video decoder"
depends on VIDEO_DEV && I2C depends on VIDEO_DEV && I2C
@ -458,7 +605,16 @@ config VIDEO_TVP5150
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called tvp5150. module will be called tvp5150.
comment "Video emprovement chips" config VIDEO_VPX3220
tristate "vpx3220a, vpx3216b & vpx3214c video decoder driver"
depends on VIDEO_DEV && I2C
---help---
Support for VPX322x video decoders.
To compile this driver as a module, choose M here: the
module will be called vpx3220.
comment "Video improvement chips"
config VIDEO_UPD64031A config VIDEO_UPD64031A
tristate "NEC Electronics uPD64031A Ghost Reduction" tristate "NEC Electronics uPD64031A Ghost Reduction"

View file

@ -8,10 +8,10 @@ config VIDEO_BT848
select VIDEO_IR select VIDEO_IR
select VIDEO_TUNER select VIDEO_TUNER
select VIDEO_TVEEPROM select VIDEO_TVEEPROM
select VIDEO_MSP3400 select VIDEO_MSP3400 if VIDEO_HELPER_CHIPS_AUTO
select VIDEO_TVAUDIO select VIDEO_TVAUDIO if VIDEO_HELPER_CHIPS_AUTO
select VIDEO_TDA7432 select VIDEO_TDA7432 if VIDEO_HELPER_CHIPS_AUTO
select VIDEO_TDA9875 select VIDEO_TDA9875 if VIDEO_HELPER_CHIPS_AUTO
---help--- ---help---
Support for BT848 based frame grabber/overlay boards. This includes Support for BT848 based frame grabber/overlay boards. This includes
the Miro, Hauppauge and STB boards. Please read the material in the Miro, Hauppauge and STB boards. Please read the material in

View file

@ -5,8 +5,8 @@ config VIDEO_EM28XX
select VIDEO_TUNER select VIDEO_TUNER
select VIDEO_TVEEPROM select VIDEO_TVEEPROM
select VIDEO_IR select VIDEO_IR
select VIDEO_SAA711X select VIDEO_SAA711X if VIDEO_HELPER_CHIPS_AUTO
select VIDEO_TVP5150 select VIDEO_TVP5150 if VIDEO_HELPER_CHIPS_AUTO
---help--- ---help---
This is a video4linux driver for Empia 28xx based TV cards. This is a video4linux driver for Empia 28xx based TV cards.

View file

@ -5,8 +5,6 @@ config VIDEO_PVRUSB2
select VIDEO_TUNER select VIDEO_TUNER
select VIDEO_TVEEPROM select VIDEO_TVEEPROM
select VIDEO_CX2341X select VIDEO_CX2341X
select VIDEO_SAA711X
select VIDEO_MSP3400
---help--- ---help---
This is a video4linux driver for Conexant 23416 based This is a video4linux driver for Conexant 23416 based
usb2 personal video recorder devices. usb2 personal video recorder devices.
@ -14,6 +12,20 @@ config VIDEO_PVRUSB2
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called pvrusb2 module will be called pvrusb2
config VIDEO_PVRUSB2_29XXX
bool "Hauppauge WinTV-PVR USB2 support for 29xxx model series"
depends on VIDEO_PVRUSB2 && EXPERIMENTAL
select VIDEO_SAA711X
select VIDEO_MSP3400
---help---
This option enables support for WinTV-PVR USB2 devices whose
model number is of the form "29xxx" (leading prefix of "29"
followed by 3 digits).
To see if you may need this option, examine the white
sticker on the underside of your device.
If you are in doubt, say Y.
config VIDEO_PVRUSB2_24XXX config VIDEO_PVRUSB2_24XXX
bool "Hauppauge WinTV-PVR USB2 support for 24xxx model series" bool "Hauppauge WinTV-PVR USB2 support for 24xxx model series"
depends on VIDEO_PVRUSB2 && EXPERIMENTAL depends on VIDEO_PVRUSB2 && EXPERIMENTAL
@ -60,3 +72,5 @@ config VIDEO_PVRUSB2_DEBUGIFC
You do not need to select this option unless you plan You do not need to select this option unless you plan
on debugging the driver or performing a manual firmware on debugging the driver or performing a manual firmware
extraction. extraction.
If you are in doubt, say N.