aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@linux01.gwdg.de>2007-05-02 09:06:23 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-05-09 09:12:39 -0400
commitc5da5afb9d7b244cfe3334c77e90b4296cf5f263 (patch)
treec71a9e4bcd123296b2fe6882788a83a8f72f9452 /drivers/media
parent480b55c26e2f6408e86f22a69fcecc29e019e819 (diff)
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: Jan Engelhardt <jengelh@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/radio/Kconfig9
-rw-r--r--drivers/media/video/Kconfig41
-rw-r--r--drivers/media/video/em28xx/Kconfig2
-rw-r--r--drivers/media/video/et61x251/Kconfig2
-rw-r--r--drivers/media/video/pvrusb2/Kconfig2
-rw-r--r--drivers/media/video/pwc/Kconfig2
-rw-r--r--drivers/media/video/sn9c102/Kconfig2
-rw-r--r--drivers/media/video/usbvideo/Kconfig8
-rw-r--r--drivers/media/video/usbvision/Kconfig2
-rw-r--r--drivers/media/video/zc0301/Kconfig2
10 files changed, 41 insertions, 31 deletions
diff --git a/drivers/media/radio/Kconfig b/drivers/media/radio/Kconfig
index af66a5d5ecd..354d664ca53 100644
--- a/drivers/media/radio/Kconfig
+++ b/drivers/media/radio/Kconfig
@@ -2,8 +2,12 @@
2# Multimedia Video device configuration 2# Multimedia Video device configuration
3# 3#
4 4
5menu "Radio Adapters" 5menuconfig RADIO_ADAPTERS
6 bool "Radio Adapters"
6 depends on VIDEO_DEV 7 depends on VIDEO_DEV
8 default y
9
10if RADIO_ADAPTERS
7 11
8config RADIO_CADET 12config RADIO_CADET
9 tristate "ADS Cadet AM/FM Tuner" 13 tristate "ADS Cadet AM/FM Tuner"
@@ -328,4 +332,5 @@ config USB_DSBR
328 332
329 To compile this driver as a module, choose M here: the 333 To compile this driver as a module, choose M here: the
330 module will be called dsbr100. 334 module will be called dsbr100.
331endmenu 335
336endif # RADIO_ADAPTERS
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
index bc773781993..29f7b7181e1 100644
--- a/drivers/media/video/Kconfig
+++ b/drivers/media/video/Kconfig
@@ -2,14 +2,15 @@
2# Multimedia Video device configuration 2# Multimedia Video device configuration
3# 3#
4 4
5menu "Video Capture Adapters" 5menuconfig VIDEO_CAPTURE_DRIVERS
6 bool "Video capture adapters"
6 depends on VIDEO_DEV 7 depends on VIDEO_DEV
8 default y
7 9
8comment "Video Capture Adapters" 10if VIDEO_CAPTURE_DRIVERS
9 11
10config VIDEO_ADV_DEBUG 12config VIDEO_ADV_DEBUG
11 bool "Enable advanced debug functionality" 13 bool "Enable advanced debug functionality"
12 depends on VIDEO_DEV
13 default n 14 default n
14 ---help--- 15 ---help---
15 Say Y here to enable advanced debugging functionality on some 16 Say Y here to enable advanced debugging functionality on some
@@ -34,7 +35,7 @@ config VIDEO_HELPER_CHIPS_AUTO
34# 35#
35 36
36menu "Encoders/decoders and other helper chips" 37menu "Encoders/decoders and other helper chips"
37 depends on VIDEO_DEV && !VIDEO_HELPER_CHIPS_AUTO 38 depends on !VIDEO_HELPER_CHIPS_AUTO
38 39
39comment "Audio decoders" 40comment "Audio decoders"
40 41
@@ -61,7 +62,7 @@ config VIDEO_TDA7432
61 62
62config VIDEO_TDA9840 63config VIDEO_TDA9840
63 tristate "Philips TDA9840 audio processor" 64 tristate "Philips TDA9840 audio processor"
64 depends on VIDEO_DEV && I2C 65 depends on I2C
65 ---help--- 66 ---help---
66 Support for tda9840 audio decoder chip found on some Zoran boards. 67 Support for tda9840 audio decoder chip found on some Zoran boards.
67 68
@@ -79,7 +80,7 @@ config VIDEO_TDA9875
79 80
80config VIDEO_TEA6415C 81config VIDEO_TEA6415C
81 tristate "Philips TEA6415C audio processor" 82 tristate "Philips TEA6415C audio processor"
82 depends on VIDEO_DEV && I2C 83 depends on I2C
83 ---help--- 84 ---help---
84 Support for tea6415c audio decoder chip found on some bt8xx boards. 85 Support for tea6415c audio decoder chip found on some bt8xx boards.
85 86
@@ -88,7 +89,7 @@ config VIDEO_TEA6415C
88 89
89config VIDEO_TEA6420 90config VIDEO_TEA6420
90 tristate "Philips TEA6420 audio processor" 91 tristate "Philips TEA6420 audio processor"
91 depends on VIDEO_DEV && I2C 92 depends on I2C
92 ---help--- 93 ---help---
93 Support for tea6420 audio decoder chip found on some bt8xx boards. 94 Support for tea6420 audio decoder chip found on some bt8xx boards.
94 95
@@ -469,7 +470,7 @@ config VIDEO_SAA5246A
469 470
470config VIDEO_SAA5249 471config VIDEO_SAA5249
471 tristate "SAA5249 Teletext processor" 472 tristate "SAA5249 Teletext processor"
472 depends on VIDEO_DEV && I2C && VIDEO_V4L2 473 depends on I2C && VIDEO_V4L2
473 help 474 help
474 Support for I2C bus based teletext using the SAA5249 chip. At the 475 Support for I2C bus based teletext using the SAA5249 chip. At the
475 moment this is only useful on some European WinTV cards. 476 moment this is only useful on some European WinTV cards.
@@ -479,7 +480,7 @@ config VIDEO_SAA5249
479 480
480config TUNER_3036 481config TUNER_3036
481 tristate "SAB3036 tuner" 482 tristate "SAB3036 tuner"
482 depends on VIDEO_DEV && I2C && VIDEO_V4L1 483 depends on I2C && VIDEO_V4L1
483 help 484 help
484 Say Y here to include support for Philips SAB3036 compatible tuners. 485 Say Y here to include support for Philips SAB3036 compatible tuners.
485 If in doubt, say N. 486 If in doubt, say N.
@@ -681,8 +682,12 @@ config VIDEO_CAFE_CCIC
681# USB Multimedia device configuration 682# USB Multimedia device configuration
682# 683#
683 684
684menu "V4L USB devices" 685menuconfig V4L_USB_DRIVERS
685 depends on USB && VIDEO_DEV 686 bool "V4L USB devices"
687 depends on USB
688 default y
689
690if V4L_USB_DRIVERS
686 691
687source "drivers/media/video/pvrusb2/Kconfig" 692source "drivers/media/video/pvrusb2/Kconfig"
688 693
@@ -707,7 +712,7 @@ config VIDEO_OVCAMCHIP
707 712
708config USB_W9968CF 713config USB_W9968CF
709 tristate "USB W996[87]CF JPEG Dual Mode Camera support" 714 tristate "USB W996[87]CF JPEG Dual Mode Camera support"
710 depends on USB && VIDEO_V4L1 && I2C 715 depends on VIDEO_V4L1 && I2C
711 select VIDEO_OVCAMCHIP 716 select VIDEO_OVCAMCHIP
712 ---help--- 717 ---help---
713 Say Y here if you want support for cameras based on OV681 or 718 Say Y here if you want support for cameras based on OV681 or
@@ -725,7 +730,7 @@ config USB_W9968CF
725 730
726config USB_OV511 731config USB_OV511
727 tristate "USB OV511 Camera support" 732 tristate "USB OV511 Camera support"
728 depends on USB && VIDEO_V4L1 733 depends on VIDEO_V4L1
729 ---help--- 734 ---help---
730 Say Y here if you want to connect this type of camera to your 735 Say Y here if you want to connect this type of camera to your
731 computer's USB port. See <file:Documentation/video4linux/ov511.txt> 736 computer's USB port. See <file:Documentation/video4linux/ov511.txt>
@@ -736,7 +741,7 @@ config USB_OV511
736 741
737config USB_SE401 742config USB_SE401
738 tristate "USB SE401 Camera support" 743 tristate "USB SE401 Camera support"
739 depends on USB && VIDEO_V4L1 744 depends on VIDEO_V4L1
740 ---help--- 745 ---help---
741 Say Y here if you want to connect this type of camera to your 746 Say Y here if you want to connect this type of camera to your
742 computer's USB port. See <file:Documentation/video4linux/se401.txt> 747 computer's USB port. See <file:Documentation/video4linux/se401.txt>
@@ -749,7 +754,7 @@ source "drivers/media/video/sn9c102/Kconfig"
749 754
750config USB_STV680 755config USB_STV680
751 tristate "USB STV680 (Pencam) Camera support" 756 tristate "USB STV680 (Pencam) Camera support"
752 depends on USB && VIDEO_V4L1 757 depends on VIDEO_V4L1
753 ---help--- 758 ---help---
754 Say Y here if you want to connect this type of camera to your 759 Say Y here if you want to connect this type of camera to your
755 computer's USB port. This includes the Pencam line of cameras. 760 computer's USB port. This includes the Pencam line of cameras.
@@ -765,7 +770,7 @@ source "drivers/media/video/pwc/Kconfig"
765 770
766config USB_ZR364XX 771config USB_ZR364XX
767 tristate "USB ZR364XX Camera support" 772 tristate "USB ZR364XX Camera support"
768 depends on USB && VIDEO_V4L2 773 depends on VIDEO_V4L2
769 ---help--- 774 ---help---
770 Say Y here if you want to connect this type of camera to your 775 Say Y here if you want to connect this type of camera to your
771 computer's USB port. 776 computer's USB port.
@@ -775,6 +780,6 @@ config USB_ZR364XX
775 To compile this driver as a module, choose M here: the 780 To compile this driver as a module, choose M here: the
776 module will be called zr364xx. 781 module will be called zr364xx.
777 782
778endmenu # V4L USB devices 783endif # V4L_USB_DRIVERS
779 784
780endmenu 785endif # VIDEO_CAPTURE_DRIVERS
diff --git a/drivers/media/video/em28xx/Kconfig b/drivers/media/video/em28xx/Kconfig
index 9285a58e47a..3823b62da4a 100644
--- a/drivers/media/video/em28xx/Kconfig
+++ b/drivers/media/video/em28xx/Kconfig
@@ -1,6 +1,6 @@
1config VIDEO_EM28XX 1config VIDEO_EM28XX
2 tristate "Empia EM2800/2820/2840 USB video capture support" 2 tristate "Empia EM2800/2820/2840 USB video capture support"
3 depends on VIDEO_V4L1 && USB && I2C 3 depends on VIDEO_V4L1 && I2C
4 select VIDEO_BUF 4 select VIDEO_BUF
5 select VIDEO_TUNER 5 select VIDEO_TUNER
6 select VIDEO_TVEEPROM 6 select VIDEO_TVEEPROM
diff --git a/drivers/media/video/et61x251/Kconfig b/drivers/media/video/et61x251/Kconfig
index c6bff705688..664676f4406 100644
--- a/drivers/media/video/et61x251/Kconfig
+++ b/drivers/media/video/et61x251/Kconfig
@@ -1,6 +1,6 @@
1config USB_ET61X251 1config USB_ET61X251
2 tristate "USB ET61X[12]51 PC Camera Controller support" 2 tristate "USB ET61X[12]51 PC Camera Controller support"
3 depends on USB && VIDEO_V4L1 3 depends on VIDEO_V4L1
4 ---help--- 4 ---help---
5 Say Y here if you want support for cameras based on Etoms ET61X151 5 Say Y here if you want support for cameras based on Etoms ET61X151
6 or ET61X251 PC Camera Controllers. 6 or ET61X251 PC Camera Controllers.
diff --git a/drivers/media/video/pvrusb2/Kconfig b/drivers/media/video/pvrusb2/Kconfig
index 5645c931889..d0c2cd78543 100644
--- a/drivers/media/video/pvrusb2/Kconfig
+++ b/drivers/media/video/pvrusb2/Kconfig
@@ -1,6 +1,6 @@
1config VIDEO_PVRUSB2 1config VIDEO_PVRUSB2
2 tristate "Hauppauge WinTV-PVR USB2 support" 2 tristate "Hauppauge WinTV-PVR USB2 support"
3 depends on VIDEO_V4L2 && USB && I2C && EXPERIMENTAL 3 depends on VIDEO_V4L2 && I2C && EXPERIMENTAL
4 select FW_LOADER 4 select FW_LOADER
5 select VIDEO_TUNER 5 select VIDEO_TUNER
6 select VIDEO_TVEEPROM 6 select VIDEO_TVEEPROM
diff --git a/drivers/media/video/pwc/Kconfig b/drivers/media/video/pwc/Kconfig
index 8fdf7101d3b..7298cf2e165 100644
--- a/drivers/media/video/pwc/Kconfig
+++ b/drivers/media/video/pwc/Kconfig
@@ -1,6 +1,6 @@
1config USB_PWC 1config USB_PWC
2 tristate "USB Philips Cameras" 2 tristate "USB Philips Cameras"
3 depends on USB && VIDEO_V4L1 3 depends on VIDEO_V4L1
4 ---help--- 4 ---help---
5 Say Y or M here if you want to use one of these Philips & OEM 5 Say Y or M here if you want to use one of these Philips & OEM
6 webcams: 6 webcams:
diff --git a/drivers/media/video/sn9c102/Kconfig b/drivers/media/video/sn9c102/Kconfig
index 19204f5686e..f71f272776d 100644
--- a/drivers/media/video/sn9c102/Kconfig
+++ b/drivers/media/video/sn9c102/Kconfig
@@ -1,6 +1,6 @@
1config USB_SN9C102 1config USB_SN9C102
2 tristate "USB SN9C1xx PC Camera Controller support" 2 tristate "USB SN9C1xx PC Camera Controller support"
3 depends on USB && VIDEO_V4L2 3 depends on VIDEO_V4L2
4 ---help--- 4 ---help---
5 Say Y here if you want support for cameras based on SONiX SN9C101, 5 Say Y here if you want support for cameras based on SONiX SN9C101,
6 SN9C102, SN9C103, SN9C105 and SN9C120 PC Camera Controllers. 6 SN9C102, SN9C103, SN9C105 and SN9C120 PC Camera Controllers.
diff --git a/drivers/media/video/usbvideo/Kconfig b/drivers/media/video/usbvideo/Kconfig
index a0fd82b924f..e4cb99c1f94 100644
--- a/drivers/media/video/usbvideo/Kconfig
+++ b/drivers/media/video/usbvideo/Kconfig
@@ -3,7 +3,7 @@ config VIDEO_USBVIDEO
3 3
4config USB_VICAM 4config USB_VICAM
5 tristate "USB 3com HomeConnect (aka vicam) support (EXPERIMENTAL)" 5 tristate "USB 3com HomeConnect (aka vicam) support (EXPERIMENTAL)"
6 depends on USB && VIDEO_DEV && VIDEO_V4L1 && EXPERIMENTAL 6 depends on VIDEO_V4L1 && EXPERIMENTAL
7 select VIDEO_USBVIDEO 7 select VIDEO_USBVIDEO
8 ---help--- 8 ---help---
9 Say Y here if you have 3com homeconnect camera (vicam). 9 Say Y here if you have 3com homeconnect camera (vicam).
@@ -13,7 +13,7 @@ config USB_VICAM
13 13
14config USB_IBMCAM 14config USB_IBMCAM
15 tristate "USB IBM (Xirlink) C-it Camera support" 15 tristate "USB IBM (Xirlink) C-it Camera support"
16 depends on USB && VIDEO_DEV && VIDEO_V4L1 16 depends on VIDEO_V4L1
17 select VIDEO_USBVIDEO 17 select VIDEO_USBVIDEO
18 ---help--- 18 ---help---
19 Say Y here if you want to connect a IBM "C-It" camera, also known as 19 Say Y here if you want to connect a IBM "C-It" camera, also known as
@@ -28,7 +28,7 @@ config USB_IBMCAM
28 28
29config USB_KONICAWC 29config USB_KONICAWC
30 tristate "USB Konica Webcam support" 30 tristate "USB Konica Webcam support"
31 depends on USB && VIDEO_DEV && VIDEO_V4L1 31 depends on VIDEO_V4L1
32 select VIDEO_USBVIDEO 32 select VIDEO_USBVIDEO
33 ---help--- 33 ---help---
34 Say Y here if you want support for webcams based on a Konica 34 Say Y here if you want support for webcams based on a Konica
@@ -39,7 +39,7 @@ config USB_KONICAWC
39 39
40config USB_QUICKCAM_MESSENGER 40config USB_QUICKCAM_MESSENGER
41 tristate "USB Logitech Quickcam Messenger" 41 tristate "USB Logitech Quickcam Messenger"
42 depends on USB && VIDEO_DEV && VIDEO_V4L1 42 depends on VIDEO_V4L1
43 select VIDEO_USBVIDEO 43 select VIDEO_USBVIDEO
44 ---help--- 44 ---help---
45 Say Y or M here to enable support for the USB Logitech Quickcam 45 Say Y or M here to enable support for the USB Logitech Quickcam
diff --git a/drivers/media/video/usbvision/Kconfig b/drivers/media/video/usbvision/Kconfig
index c43a5d89909..fc24ef05b3f 100644
--- a/drivers/media/video/usbvision/Kconfig
+++ b/drivers/media/video/usbvision/Kconfig
@@ -1,6 +1,6 @@
1config VIDEO_USBVISION 1config VIDEO_USBVISION
2 tristate "USB video devices based on Nogatech NT1003/1004/1005" 2 tristate "USB video devices based on Nogatech NT1003/1004/1005"
3 depends on I2C && VIDEO_V4L2 && USB 3 depends on I2C && VIDEO_V4L2
4 select VIDEO_TUNER 4 select VIDEO_TUNER
5 select VIDEO_SAA711X if VIDEO_HELPER_CHIPS_AUTO 5 select VIDEO_SAA711X if VIDEO_HELPER_CHIPS_AUTO
6 ---help--- 6 ---help---
diff --git a/drivers/media/video/zc0301/Kconfig b/drivers/media/video/zc0301/Kconfig
index a859a692018..47cd93f9c7d 100644
--- a/drivers/media/video/zc0301/Kconfig
+++ b/drivers/media/video/zc0301/Kconfig
@@ -1,6 +1,6 @@
1config USB_ZC0301 1config USB_ZC0301
2 tristate "USB ZC0301[P] Image Processor and Control Chip support" 2 tristate "USB ZC0301[P] Image Processor and Control Chip support"
3 depends on USB && VIDEO_V4L1 3 depends on VIDEO_V4L1
4 ---help--- 4 ---help---
5 Say Y here if you want support for cameras based on the ZC0301 or 5 Say Y here if you want support for cameras based on the ZC0301 or
6 ZC0301P Image Processors and Control Chips. 6 ZC0301P Image Processors and Control Chips.