diff options
author | Pete Eberlein <pete@sensoray.com> | 2009-09-18 20:21:55 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-18 23:53:44 -0400 |
commit | c24db7065e9ed717c38792fc23075fcd02a0a544 (patch) | |
tree | b11468c5aa83ebbc0e4c4579a5aa90e9d0db41fc /drivers | |
parent | 6789cb5230f8b06271b6a89ace20449af14be303 (diff) |
V4L/DVB (13020): go7007: Updates to Kconfig and Makefile
Replace "weird device" with accurate descriptions. Add menu options and
makefile lines for the i2c modules. Added comment about why dvb-usb is
included. Added include sound/config.h for Ubuntu 8.04 distro kernel.
Signed-off-by: Pete Eberlein <pete@sensoray.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/go7007/Kconfig | 84 | ||||
-rw-r--r-- | drivers/staging/go7007/Makefile | 20 |
2 files changed, 94 insertions, 10 deletions
diff --git a/drivers/staging/go7007/Kconfig b/drivers/staging/go7007/Kconfig index ca6ade6c4b47..e47f683a323e 100644 --- a/drivers/staging/go7007/Kconfig +++ b/drivers/staging/go7007/Kconfig | |||
@@ -1,5 +1,5 @@ | |||
1 | config VIDEO_GO7007 | 1 | config VIDEO_GO7007 |
2 | tristate "Go 7007 support" | 2 | tristate "WIS GO7007 MPEG encoder support" |
3 | depends on VIDEO_DEV && PCI && I2C && INPUT | 3 | depends on VIDEO_DEV && PCI && I2C && INPUT |
4 | depends on SND | 4 | depends on SND |
5 | select VIDEOBUF_DMA_SG | 5 | select VIDEOBUF_DMA_SG |
@@ -10,17 +10,19 @@ config VIDEO_GO7007 | |||
10 | select CRC32 | 10 | select CRC32 |
11 | default N | 11 | default N |
12 | ---help--- | 12 | ---help--- |
13 | This is a video4linux driver for some weird device... | 13 | This is a video4linux driver for the WIS GO7007 MPEG |
14 | encoder chip. | ||
14 | 15 | ||
15 | To compile this driver as a module, choose M here: the | 16 | To compile this driver as a module, choose M here: the |
16 | module will be called go7007 | 17 | module will be called go7007 |
17 | 18 | ||
18 | config VIDEO_GO7007_USB | 19 | config VIDEO_GO7007_USB |
19 | tristate "Go 7007 USB support" | 20 | tristate "WIS GO7007 USB support" |
20 | depends on VIDEO_GO7007 && USB | 21 | depends on VIDEO_GO7007 && USB |
21 | default N | 22 | default N |
22 | ---help--- | 23 | ---help--- |
23 | This is a video4linux driver for some weird device... | 24 | This is a video4linux driver for the WIS GO7007 MPEG |
25 | encoder chip over USB. | ||
24 | 26 | ||
25 | To compile this driver as a module, choose M here: the | 27 | To compile this driver as a module, choose M here: the |
26 | module will be called go7007-usb | 28 | module will be called go7007-usb |
@@ -30,8 +32,78 @@ config VIDEO_GO7007_USB_S2250_BOARD | |||
30 | depends on VIDEO_GO7007_USB && DVB_USB | 32 | depends on VIDEO_GO7007_USB && DVB_USB |
31 | default N | 33 | default N |
32 | ---help--- | 34 | ---help--- |
33 | This is a video4linux driver for the Sensoray 2250/2251 device | 35 | This is a video4linux driver for the Sensoray 2250/2251 device. |
34 | 36 | ||
35 | To compile this driver as a module, choose M here: the | 37 | To compile this driver as a module, choose M here: the |
36 | module will be called s2250-board | 38 | module will be called s2250 |
39 | |||
40 | config VIDEO_GO7007_OV7640 | ||
41 | tristate "OV7640 subdev support" | ||
42 | depends on VIDEO_GO7007 | ||
43 | default N | ||
44 | ---help--- | ||
45 | This is a video4linux driver for the OV7640 sub-device. | ||
46 | |||
47 | To compile this driver as a module, choose M here: the | ||
48 | module will be called wis-ov7640 | ||
49 | |||
50 | config VIDEO_GO7007_SAA7113 | ||
51 | tristate "SAA7113 subdev support" | ||
52 | depends on VIDEO_GO7007 | ||
53 | default N | ||
54 | ---help--- | ||
55 | This is a video4linux driver for the SAA7113 sub-device. | ||
56 | |||
57 | To compile this driver as a module, choose M here: the | ||
58 | module will be called wis-saa7113 | ||
59 | |||
60 | config VIDEO_GO7007_SAA7115 | ||
61 | tristate "SAA7115 subdev support" | ||
62 | depends on VIDEO_GO7007 | ||
63 | default N | ||
64 | ---help--- | ||
65 | This is a video4linux driver for the SAA7115 sub-device. | ||
66 | |||
67 | To compile this driver as a module, choose M here: the | ||
68 | module will be called wis-saa7115 | ||
69 | |||
70 | config VIDEO_GO7007_TW9903 | ||
71 | tristate "TW9903 subdev support" | ||
72 | depends on VIDEO_GO7007 | ||
73 | default N | ||
74 | ---help--- | ||
75 | This is a video4linux driver for the TW9903 sub-device. | ||
76 | |||
77 | To compile this driver as a module, choose M here: the | ||
78 | module will be called wis-tw9903 | ||
79 | |||
80 | config VIDEO_GO7007_UDA1342 | ||
81 | tristate "UDA1342 subdev support" | ||
82 | depends on VIDEO_GO7007 | ||
83 | default N | ||
84 | ---help--- | ||
85 | This is a video4linux driver for the UDA1342 sub-device. | ||
86 | |||
87 | To compile this driver as a module, choose M here: the | ||
88 | module will be called wis-uda1342 | ||
89 | |||
90 | config VIDEO_GO7007_SONY_TUNER | ||
91 | tristate "Sony tuner subdev support" | ||
92 | depends on VIDEO_GO7007 | ||
93 | default N | ||
94 | ---help--- | ||
95 | This is a video4linux driver for the Sony Tuner sub-device. | ||
96 | |||
97 | To compile this driver as a module, choose M here: the | ||
98 | module will be called wis-sony-tuner | ||
99 | |||
100 | config VIDEO_GO7007_TW2804 | ||
101 | tristate "TW2804 subdev support" | ||
102 | depends on VIDEO_GO7007 | ||
103 | default N | ||
104 | ---help--- | ||
105 | This is a video4linux driver for the TW2804 sub-device. | ||
106 | |||
107 | To compile this driver as a module, choose M here: the | ||
108 | module will be called wis-tw2804 | ||
37 | 109 | ||
diff --git a/drivers/staging/go7007/Makefile b/drivers/staging/go7007/Makefile index e514b4af6d06..d14ea84a01f6 100644 --- a/drivers/staging/go7007/Makefile +++ b/drivers/staging/go7007/Makefile | |||
@@ -6,22 +6,34 @@ | |||
6 | obj-$(CONFIG_VIDEO_GO7007) += go7007.o | 6 | obj-$(CONFIG_VIDEO_GO7007) += go7007.o |
7 | obj-$(CONFIG_VIDEO_GO7007_USB) += go7007-usb.o | 7 | obj-$(CONFIG_VIDEO_GO7007_USB) += go7007-usb.o |
8 | obj-$(CONFIG_VIDEO_GO7007_USB_S2250_BOARD) += s2250.o | 8 | obj-$(CONFIG_VIDEO_GO7007_USB_S2250_BOARD) += s2250.o |
9 | obj-$(CONFIG_VIDEO_GO7007_SAA7113) += wis-saa7113.o | ||
10 | obj-$(CONFIG_VIDEO_GO7007_OV7640) += wis-ov7640.o | ||
11 | obj-$(CONFIG_VIDEO_GO7007_SAA7115) += wis-saa7115.o | ||
12 | obj-$(CONFIG_VIDEO_GO7007_TW9903) += wis-tw9903.o | ||
13 | obj-$(CONFIG_VIDEO_GO7007_UDA1342) += wis-uda1342.o | ||
14 | obj-$(CONFIG_VIDEO_GO7007_SONY_TUNER) += wis-sony-tuner.o | ||
15 | obj-$(CONFIG_VIDEO_GO7007_TW2804) += wis-tw2804.o | ||
9 | 16 | ||
10 | go7007-objs += go7007-v4l2.o go7007-driver.o go7007-i2c.o go7007-fw.o \ | 17 | go7007-objs += go7007-v4l2.o go7007-driver.o go7007-i2c.o go7007-fw.o \ |
11 | snd-go7007.o wis-saa7113.o | 18 | snd-go7007.o |
12 | 19 | ||
13 | s2250-objs += s2250-board.o s2250-loader.o | 20 | s2250-objs += s2250-board.o s2250-loader.o |
14 | 21 | ||
15 | # Uncompile when the saa7134 patches get into upstream | 22 | # Uncomment when the saa7134 patches get into upstream |
16 | #ifneq ($(CONFIG_VIDEO_SAA7134),) | 23 | #ifneq ($(CONFIG_VIDEO_SAA7134),) |
17 | #obj-$(CONFIG_VIDEO_SAA7134) += saa7134-go7007.o | 24 | #obj-$(CONFIG_VIDEO_SAA7134) += saa7134-go7007.o |
18 | #EXTRA_CFLAGS += -Idrivers/media/video/saa7134 | 25 | #EXTRA_CFLAGS += -Idrivers/media/video/saa7134 -DSAA7134_MPEG_GO7007=3 |
19 | #endif | 26 | #endif |
20 | 27 | ||
28 | # S2250 needs cypress ezusb loader from dvb-usb | ||
21 | ifneq ($(CONFIG_VIDEO_GO7007_USB_S2250_BOARD),) | 29 | ifneq ($(CONFIG_VIDEO_GO7007_USB_S2250_BOARD),) |
22 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-usb | 30 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-usb |
23 | endif | 31 | endif |
24 | 32 | ||
25 | EXTRA_CFLAGS += -Idrivers/staging/saa7134 | ||
26 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends | 33 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends |
27 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core | 34 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core |
35 | |||
36 | # Ubuntu 8.04 has CONFIG_SND undefined, so include lum sound/config.h too | ||
37 | ifeq ($(CONFIG_SND),) | ||
38 | EXTRA_CFLAGS += -include sound/config.h | ||
39 | endif | ||