aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-08-14 13:50:53 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-15 15:39:31 -0400
commite5cdf69d36f667d9840ce050abbe4a95c2a6b536 (patch)
treefd11102a155423aaafa3848dba999353f58ff3a0
parent3e7c99126f1e18379bdac0544255e230d623ab3a (diff)
[media] move the remaining PCI devices to drivers/media/pci
Move meye and sta2x11_vip into the drivers/media/pci subdirs. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/pci/Kconfig6
-rw-r--r--drivers/media/pci/Makefile2
-rw-r--r--drivers/media/pci/meye/Kconfig13
-rw-r--r--drivers/media/pci/meye/Makefile1
-rw-r--r--drivers/media/pci/meye/meye.c (renamed from drivers/media/video/meye.c)0
-rw-r--r--drivers/media/pci/meye/meye.h (renamed from drivers/media/video/meye.h)0
-rw-r--r--drivers/media/pci/sta2x11/Kconfig12
-rw-r--r--drivers/media/pci/sta2x11/Makefile1
-rw-r--r--drivers/media/pci/sta2x11/sta2x11_vip.c (renamed from drivers/media/video/sta2x11_vip.c)0
-rw-r--r--drivers/media/pci/sta2x11/sta2x11_vip.h (renamed from drivers/media/video/sta2x11_vip.h)0
-rw-r--r--drivers/media/video/Kconfig45
-rw-r--r--drivers/media/video/Makefile2
12 files changed, 35 insertions, 47 deletions
diff --git a/drivers/media/pci/Kconfig b/drivers/media/pci/Kconfig
index e1a9e1afd72c..4243d5d38c0a 100644
--- a/drivers/media/pci/Kconfig
+++ b/drivers/media/pci/Kconfig
@@ -5,6 +5,12 @@
5menu "Media PCI Adapters" 5menu "Media PCI Adapters"
6 visible if PCI && MEDIA_SUPPORT 6 visible if PCI && MEDIA_SUPPORT
7 7
8if MEDIA_CAMERA_SUPPORT
9 comment "Media capture support"
10source "drivers/media/pci/meye/Kconfig"
11source "drivers/media/pci/sta2x11/Kconfig"
12endif
13
8if MEDIA_ANALOG_TV_SUPPORT 14if MEDIA_ANALOG_TV_SUPPORT
9 comment "Media capture/analog TV support" 15 comment "Media capture/analog TV support"
10source "drivers/media/pci/ivtv/Kconfig" 16source "drivers/media/pci/ivtv/Kconfig"
diff --git a/drivers/media/pci/Makefile b/drivers/media/pci/Makefile
index bb71e30b9d25..c8dc6c775303 100644
--- a/drivers/media/pci/Makefile
+++ b/drivers/media/pci/Makefile
@@ -22,3 +22,5 @@ obj-$(CONFIG_VIDEO_CX88) += cx88/
22obj-$(CONFIG_VIDEO_BT848) += bt8xx/ 22obj-$(CONFIG_VIDEO_BT848) += bt8xx/
23obj-$(CONFIG_VIDEO_SAA7134) += saa7134/ 23obj-$(CONFIG_VIDEO_SAA7134) += saa7134/
24obj-$(CONFIG_VIDEO_SAA7164) += saa7164/ 24obj-$(CONFIG_VIDEO_SAA7164) += saa7164/
25obj-$(CONFIG_VIDEO_MEYE) += meye/
26obj-$(CONFIG_STA2X11_VIP) += sta2x11/
diff --git a/drivers/media/pci/meye/Kconfig b/drivers/media/pci/meye/Kconfig
new file mode 100644
index 000000000000..b4bf848be5a0
--- /dev/null
+++ b/drivers/media/pci/meye/Kconfig
@@ -0,0 +1,13 @@
1config VIDEO_MEYE
2 tristate "Sony Vaio Picturebook Motion Eye Video For Linux"
3 depends on PCI && SONY_LAPTOP && VIDEO_V4L2
4 ---help---
5 This is the video4linux driver for the Motion Eye camera found
6 in the Vaio Picturebook laptops. Please read the material in
7 <file:Documentation/video4linux/meye.txt> for more information.
8
9 If you say Y or M here, you need to say Y or M to "Sony Laptop
10 Extras" in the misc device section.
11
12 To compile this driver as a module, choose M here: the
13 module will be called meye.
diff --git a/drivers/media/pci/meye/Makefile b/drivers/media/pci/meye/Makefile
new file mode 100644
index 000000000000..49388518cd01
--- /dev/null
+++ b/drivers/media/pci/meye/Makefile
@@ -0,0 +1 @@
obj-$(CONFIG_VIDEO_MEYE) += meye.o
diff --git a/drivers/media/video/meye.c b/drivers/media/pci/meye/meye.c
index 7bc775219f97..7bc775219f97 100644
--- a/drivers/media/video/meye.c
+++ b/drivers/media/pci/meye/meye.c
diff --git a/drivers/media/video/meye.h b/drivers/media/pci/meye/meye.h
index 4bdeb03f1644..4bdeb03f1644 100644
--- a/drivers/media/video/meye.h
+++ b/drivers/media/pci/meye/meye.h
diff --git a/drivers/media/pci/sta2x11/Kconfig b/drivers/media/pci/sta2x11/Kconfig
new file mode 100644
index 000000000000..04a82cbd7c91
--- /dev/null
+++ b/drivers/media/pci/sta2x11/Kconfig
@@ -0,0 +1,12 @@
1config STA2X11_VIP
2 tristate "STA2X11 VIP Video For Linux"
3 depends on STA2X11
4 select VIDEO_ADV7180 if VIDEO_HELPER_CHIPS_AUTO
5 select VIDEOBUF_DMA_CONTIG
6 depends on PCI && VIDEO_V4L2 && VIRT_TO_BUS
7 help
8 Say Y for support for STA2X11 VIP (Video Input Port) capture
9 device.
10
11 To compile this driver as a module, choose M here: the
12 module will be called sta2x11_vip.
diff --git a/drivers/media/pci/sta2x11/Makefile b/drivers/media/pci/sta2x11/Makefile
new file mode 100644
index 000000000000..d6c471d1d1b4
--- /dev/null
+++ b/drivers/media/pci/sta2x11/Makefile
@@ -0,0 +1 @@
obj-$(CONFIG_STA2X11_VIP) += sta2x11_vip.o
diff --git a/drivers/media/video/sta2x11_vip.c b/drivers/media/pci/sta2x11/sta2x11_vip.c
index 4c10205264d4..4c10205264d4 100644
--- a/drivers/media/video/sta2x11_vip.c
+++ b/drivers/media/pci/sta2x11/sta2x11_vip.c
diff --git a/drivers/media/video/sta2x11_vip.h b/drivers/media/pci/sta2x11/sta2x11_vip.h
index 4f81a13666eb..4f81a13666eb 100644
--- a/drivers/media/video/sta2x11_vip.h
+++ b/drivers/media/pci/sta2x11/sta2x11_vip.h
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
index 4d79dfd452b8..d545d939c7d5 100644
--- a/drivers/media/video/Kconfig
+++ b/drivers/media/video/Kconfig
@@ -606,51 +606,6 @@ config VIDEO_VIVI
606 In doubt, say N. 606 In doubt, say N.
607 607
608# 608#
609# PCI drivers configuration - No devices here are for webcams
610#
611
612menuconfig V4L_PCI_DRIVERS
613 bool "V4L PCI(e) devices"
614 depends on PCI
615 depends on MEDIA_ANALOG_TV_SUPPORT
616 default y
617 ---help---
618 Say Y here to enable support for these PCI(e) drivers.
619
620if V4L_PCI_DRIVERS
621
622config VIDEO_MEYE
623 tristate "Sony Vaio Picturebook Motion Eye Video For Linux"
624 depends on PCI && SONY_LAPTOP && VIDEO_V4L2
625 ---help---
626 This is the video4linux driver for the Motion Eye camera found
627 in the Vaio Picturebook laptops. Please read the material in
628 <file:Documentation/video4linux/meye.txt> for more information.
629
630 If you say Y or M here, you need to say Y or M to "Sony Laptop
631 Extras" in the misc device section.
632
633 To compile this driver as a module, choose M here: the
634 module will be called meye.
635
636
637
638config STA2X11_VIP
639 tristate "STA2X11 VIP Video For Linux"
640 depends on STA2X11
641 select VIDEO_ADV7180 if VIDEO_HELPER_CHIPS_AUTO
642 select VIDEOBUF_DMA_CONTIG
643 depends on PCI && VIDEO_V4L2 && VIRT_TO_BUS
644 help
645 Say Y for support for STA2X11 VIP (Video Input Port) capture
646 device.
647
648 To compile this driver as a module, choose M here: the
649 module will be called sta2x11_vip.
650
651endif # V4L_PCI_DRIVERS
652
653#
654# ISA & parallel port drivers configuration 609# ISA & parallel port drivers configuration
655# All devices here are webcam or grabber devices 610# All devices here are webcam or grabber devices
656# 611#
diff --git a/drivers/media/video/Makefile b/drivers/media/video/Makefile
index 8df694dde564..f212af3ec740 100644
--- a/drivers/media/video/Makefile
+++ b/drivers/media/video/Makefile
@@ -92,8 +92,6 @@ obj-$(CONFIG_VIDEO_BWQCAM) += bw-qcam.o
92obj-$(CONFIG_VIDEO_W9966) += w9966.o 92obj-$(CONFIG_VIDEO_W9966) += w9966.o
93obj-$(CONFIG_VIDEO_PMS) += pms.o 93obj-$(CONFIG_VIDEO_PMS) += pms.o
94obj-$(CONFIG_VIDEO_VINO) += vino.o 94obj-$(CONFIG_VIDEO_VINO) += vino.o
95obj-$(CONFIG_VIDEO_MEYE) += meye.o
96obj-$(CONFIG_STA2X11_VIP) += sta2x11_vip.o
97obj-$(CONFIG_VIDEO_TIMBERDALE) += timblogiw.o 95obj-$(CONFIG_VIDEO_TIMBERDALE) += timblogiw.o
98 96
99obj-$(CONFIG_VIDEO_BTCX) += btcx-risc.o 97obj-$(CONFIG_VIDEO_BTCX) += btcx-risc.o