Commit c5da5afb authored by Jan Engelhardt's avatar Jan Engelhardt Committed by Mauro Carvalho Chehab

V4L/DVB (5586): Use menuconfig objects II - V4L

Change Kconfig objects from "menu, config" into "menuconfig" so
that the user can disable the whole feature without having to
enter the menu first.
Signed-off-by: default avatarJan Engelhardt <jengelh@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 480b55c2
...@@ -2,8 +2,12 @@ ...@@ -2,8 +2,12 @@
# Multimedia Video device configuration # Multimedia Video device configuration
# #
menu "Radio Adapters" menuconfig RADIO_ADAPTERS
bool "Radio Adapters"
depends on VIDEO_DEV depends on VIDEO_DEV
default y
if RADIO_ADAPTERS
config RADIO_CADET config RADIO_CADET
tristate "ADS Cadet AM/FM Tuner" tristate "ADS Cadet AM/FM Tuner"
...@@ -328,4 +332,5 @@ config USB_DSBR ...@@ -328,4 +332,5 @@ config USB_DSBR
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 dsbr100. module will be called dsbr100.
endmenu
endif # RADIO_ADAPTERS
...@@ -2,14 +2,15 @@ ...@@ -2,14 +2,15 @@
# Multimedia Video device configuration # Multimedia Video device configuration
# #
menu "Video Capture Adapters" menuconfig VIDEO_CAPTURE_DRIVERS
bool "Video capture adapters"
depends on VIDEO_DEV depends on VIDEO_DEV
default y
comment "Video Capture Adapters" if VIDEO_CAPTURE_DRIVERS
config VIDEO_ADV_DEBUG config VIDEO_ADV_DEBUG
bool "Enable advanced debug functionality" bool "Enable advanced debug functionality"
depends on VIDEO_DEV
default n default n
---help--- ---help---
Say Y here to enable advanced debugging functionality on some Say Y here to enable advanced debugging functionality on some
...@@ -34,7 +35,7 @@ config VIDEO_HELPER_CHIPS_AUTO ...@@ -34,7 +35,7 @@ config VIDEO_HELPER_CHIPS_AUTO
# #
menu "Encoders/decoders and other helper chips" menu "Encoders/decoders and other helper chips"
depends on VIDEO_DEV && !VIDEO_HELPER_CHIPS_AUTO depends on !VIDEO_HELPER_CHIPS_AUTO
comment "Audio decoders" comment "Audio decoders"
...@@ -61,7 +62,7 @@ config VIDEO_TDA7432 ...@@ -61,7 +62,7 @@ config VIDEO_TDA7432
config VIDEO_TDA9840 config VIDEO_TDA9840
tristate "Philips TDA9840 audio processor" tristate "Philips TDA9840 audio processor"
depends on VIDEO_DEV && I2C depends on I2C
---help--- ---help---
Support for tda9840 audio decoder chip found on some Zoran boards. Support for tda9840 audio decoder chip found on some Zoran boards.
...@@ -79,7 +80,7 @@ config VIDEO_TDA9875 ...@@ -79,7 +80,7 @@ config VIDEO_TDA9875
config VIDEO_TEA6415C config VIDEO_TEA6415C
tristate "Philips TEA6415C audio processor" tristate "Philips TEA6415C audio processor"
depends on VIDEO_DEV && I2C depends on I2C
---help--- ---help---
Support for tea6415c audio decoder chip found on some bt8xx boards. Support for tea6415c audio decoder chip found on some bt8xx boards.
...@@ -88,7 +89,7 @@ config VIDEO_TEA6415C ...@@ -88,7 +89,7 @@ config VIDEO_TEA6415C
config VIDEO_TEA6420 config VIDEO_TEA6420
tristate "Philips TEA6420 audio processor" tristate "Philips TEA6420 audio processor"
depends on VIDEO_DEV && I2C depends on I2C
---help--- ---help---
Support for tea6420 audio decoder chip found on some bt8xx boards. Support for tea6420 audio decoder chip found on some bt8xx boards.
...@@ -469,7 +470,7 @@ config VIDEO_SAA5246A ...@@ -469,7 +470,7 @@ config VIDEO_SAA5246A
config VIDEO_SAA5249 config VIDEO_SAA5249
tristate "SAA5249 Teletext processor" tristate "SAA5249 Teletext processor"
depends on VIDEO_DEV && I2C && VIDEO_V4L2 depends on I2C && VIDEO_V4L2
help help
Support for I2C bus based teletext using the SAA5249 chip. At the Support for I2C bus based teletext using the SAA5249 chip. At the
moment this is only useful on some European WinTV cards. moment this is only useful on some European WinTV cards.
...@@ -479,7 +480,7 @@ config VIDEO_SAA5249 ...@@ -479,7 +480,7 @@ config VIDEO_SAA5249
config TUNER_3036 config TUNER_3036
tristate "SAB3036 tuner" tristate "SAB3036 tuner"
depends on VIDEO_DEV && I2C && VIDEO_V4L1 depends on I2C && VIDEO_V4L1
help help
Say Y here to include support for Philips SAB3036 compatible tuners. Say Y here to include support for Philips SAB3036 compatible tuners.
If in doubt, say N. If in doubt, say N.
...@@ -681,8 +682,12 @@ config VIDEO_CAFE_CCIC ...@@ -681,8 +682,12 @@ config VIDEO_CAFE_CCIC
# USB Multimedia device configuration # USB Multimedia device configuration
# #
menu "V4L USB devices" menuconfig V4L_USB_DRIVERS
depends on USB && VIDEO_DEV bool "V4L USB devices"
depends on USB
default y
if V4L_USB_DRIVERS
source "drivers/media/video/pvrusb2/Kconfig" source "drivers/media/video/pvrusb2/Kconfig"
...@@ -707,7 +712,7 @@ config VIDEO_OVCAMCHIP ...@@ -707,7 +712,7 @@ config VIDEO_OVCAMCHIP
config USB_W9968CF config USB_W9968CF
tristate "USB W996[87]CF JPEG Dual Mode Camera support" tristate "USB W996[87]CF JPEG Dual Mode Camera support"
depends on USB && VIDEO_V4L1 && I2C depends on VIDEO_V4L1 && I2C
select VIDEO_OVCAMCHIP select VIDEO_OVCAMCHIP
---help--- ---help---
Say Y here if you want support for cameras based on OV681 or Say Y here if you want support for cameras based on OV681 or
...@@ -725,7 +730,7 @@ config USB_W9968CF ...@@ -725,7 +730,7 @@ config USB_W9968CF
config USB_OV511 config USB_OV511
tristate "USB OV511 Camera support" tristate "USB OV511 Camera support"
depends on USB && VIDEO_V4L1 depends on VIDEO_V4L1
---help--- ---help---
Say Y here if you want to connect this type of camera to your Say Y here if you want to connect this type of camera to your
computer's USB port. See <file:Documentation/video4linux/ov511.txt> computer's USB port. See <file:Documentation/video4linux/ov511.txt>
...@@ -736,7 +741,7 @@ config USB_OV511 ...@@ -736,7 +741,7 @@ config USB_OV511
config USB_SE401 config USB_SE401
tristate "USB SE401 Camera support" tristate "USB SE401 Camera support"
depends on USB && VIDEO_V4L1 depends on VIDEO_V4L1
---help--- ---help---
Say Y here if you want to connect this type of camera to your Say Y here if you want to connect this type of camera to your
computer's USB port. See <file:Documentation/video4linux/se401.txt> computer's USB port. See <file:Documentation/video4linux/se401.txt>
...@@ -749,7 +754,7 @@ source "drivers/media/video/sn9c102/Kconfig" ...@@ -749,7 +754,7 @@ source "drivers/media/video/sn9c102/Kconfig"
config USB_STV680 config USB_STV680
tristate "USB STV680 (Pencam) Camera support" tristate "USB STV680 (Pencam) Camera support"
depends on USB && VIDEO_V4L1 depends on VIDEO_V4L1
---help--- ---help---
Say Y here if you want to connect this type of camera to your Say Y here if you want to connect this type of camera to your
computer's USB port. This includes the Pencam line of cameras. computer's USB port. This includes the Pencam line of cameras.
...@@ -765,7 +770,7 @@ source "drivers/media/video/pwc/Kconfig" ...@@ -765,7 +770,7 @@ source "drivers/media/video/pwc/Kconfig"
config USB_ZR364XX config USB_ZR364XX
tristate "USB ZR364XX Camera support" tristate "USB ZR364XX Camera support"
depends on USB && VIDEO_V4L2 depends on VIDEO_V4L2
---help--- ---help---
Say Y here if you want to connect this type of camera to your Say Y here if you want to connect this type of camera to your
computer's USB port. computer's USB port.
...@@ -775,6 +780,6 @@ config USB_ZR364XX ...@@ -775,6 +780,6 @@ config USB_ZR364XX
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 zr364xx. module will be called zr364xx.
endmenu # V4L USB devices endif # V4L_USB_DRIVERS
endmenu endif # VIDEO_CAPTURE_DRIVERS
config VIDEO_EM28XX config VIDEO_EM28XX
tristate "Empia EM2800/2820/2840 USB video capture support" tristate "Empia EM2800/2820/2840 USB video capture support"
depends on VIDEO_V4L1 && USB && I2C depends on VIDEO_V4L1 && I2C
select VIDEO_BUF select VIDEO_BUF
select VIDEO_TUNER select VIDEO_TUNER
select VIDEO_TVEEPROM select VIDEO_TVEEPROM
......
config USB_ET61X251 config USB_ET61X251
tristate "USB ET61X[12]51 PC Camera Controller support" tristate "USB ET61X[12]51 PC Camera Controller support"
depends on USB && VIDEO_V4L1 depends on VIDEO_V4L1
---help--- ---help---
Say Y here if you want support for cameras based on Etoms ET61X151 Say Y here if you want support for cameras based on Etoms ET61X151
or ET61X251 PC Camera Controllers. or ET61X251 PC Camera Controllers.
......
config VIDEO_PVRUSB2 config VIDEO_PVRUSB2
tristate "Hauppauge WinTV-PVR USB2 support" tristate "Hauppauge WinTV-PVR USB2 support"
depends on VIDEO_V4L2 && USB && I2C && EXPERIMENTAL depends on VIDEO_V4L2 && I2C && EXPERIMENTAL
select FW_LOADER select FW_LOADER
select VIDEO_TUNER select VIDEO_TUNER
select VIDEO_TVEEPROM select VIDEO_TVEEPROM
......
config USB_PWC config USB_PWC
tristate "USB Philips Cameras" tristate "USB Philips Cameras"
depends on USB && VIDEO_V4L1 depends on VIDEO_V4L1
---help--- ---help---
Say Y or M here if you want to use one of these Philips & OEM Say Y or M here if you want to use one of these Philips & OEM
webcams: webcams:
......
config USB_SN9C102 config USB_SN9C102
tristate "USB SN9C1xx PC Camera Controller support" tristate "USB SN9C1xx PC Camera Controller support"
depends on USB && VIDEO_V4L2 depends on VIDEO_V4L2
---help--- ---help---
Say Y here if you want support for cameras based on SONiX SN9C101, Say Y here if you want support for cameras based on SONiX SN9C101,
SN9C102, SN9C103, SN9C105 and SN9C120 PC Camera Controllers. SN9C102, SN9C103, SN9C105 and SN9C120 PC Camera Controllers.
......
...@@ -3,7 +3,7 @@ config VIDEO_USBVIDEO ...@@ -3,7 +3,7 @@ config VIDEO_USBVIDEO
config USB_VICAM config USB_VICAM
tristate "USB 3com HomeConnect (aka vicam) support (EXPERIMENTAL)" tristate "USB 3com HomeConnect (aka vicam) support (EXPERIMENTAL)"
depends on USB && VIDEO_DEV && VIDEO_V4L1 && EXPERIMENTAL depends on VIDEO_V4L1 && EXPERIMENTAL
select VIDEO_USBVIDEO select VIDEO_USBVIDEO
---help--- ---help---
Say Y here if you have 3com homeconnect camera (vicam). Say Y here if you have 3com homeconnect camera (vicam).
...@@ -13,7 +13,7 @@ config USB_VICAM ...@@ -13,7 +13,7 @@ config USB_VICAM
config USB_IBMCAM config USB_IBMCAM
tristate "USB IBM (Xirlink) C-it Camera support" tristate "USB IBM (Xirlink) C-it Camera support"
depends on USB && VIDEO_DEV && VIDEO_V4L1 depends on VIDEO_V4L1
select VIDEO_USBVIDEO select VIDEO_USBVIDEO
---help--- ---help---
Say Y here if you want to connect a IBM "C-It" camera, also known as Say Y here if you want to connect a IBM "C-It" camera, also known as
...@@ -28,7 +28,7 @@ config USB_IBMCAM ...@@ -28,7 +28,7 @@ config USB_IBMCAM
config USB_KONICAWC config USB_KONICAWC
tristate "USB Konica Webcam support" tristate "USB Konica Webcam support"
depends on USB && VIDEO_DEV && VIDEO_V4L1 depends on VIDEO_V4L1
select VIDEO_USBVIDEO select VIDEO_USBVIDEO
---help--- ---help---
Say Y here if you want support for webcams based on a Konica Say Y here if you want support for webcams based on a Konica
...@@ -39,7 +39,7 @@ config USB_KONICAWC ...@@ -39,7 +39,7 @@ config USB_KONICAWC
config USB_QUICKCAM_MESSENGER config USB_QUICKCAM_MESSENGER
tristate "USB Logitech Quickcam Messenger" tristate "USB Logitech Quickcam Messenger"
depends on USB && VIDEO_DEV && VIDEO_V4L1 depends on VIDEO_V4L1
select VIDEO_USBVIDEO select VIDEO_USBVIDEO
---help--- ---help---
Say Y or M here to enable support for the USB Logitech Quickcam Say Y or M here to enable support for the USB Logitech Quickcam
......
config VIDEO_USBVISION config VIDEO_USBVISION
tristate "USB video devices based on Nogatech NT1003/1004/1005" tristate "USB video devices based on Nogatech NT1003/1004/1005"
depends on I2C && VIDEO_V4L2 && USB depends on I2C && VIDEO_V4L2
select VIDEO_TUNER select VIDEO_TUNER
select VIDEO_SAA711X if VIDEO_HELPER_CHIPS_AUTO select VIDEO_SAA711X if VIDEO_HELPER_CHIPS_AUTO
---help--- ---help---
......
config USB_ZC0301 config USB_ZC0301
tristate "USB ZC0301[P] Image Processor and Control Chip support" tristate "USB ZC0301[P] Image Processor and Control Chip support"
depends on USB && VIDEO_V4L1 depends on VIDEO_V4L1
---help--- ---help---
Say Y here if you want support for cameras based on the ZC0301 or Say Y here if you want support for cameras based on the ZC0301 or
ZC0301P Image Processors and Control Chips. ZC0301P Image Processors and Control Chips.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment