diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-21 12:03:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-21 12:03:10 -0400 |
commit | c720f5655df159a630fa0290a0bd67c93e92b0bf (patch) | |
tree | 940d139d0ec1ff5201efddef6cc663166a8a2df3 /drivers/media/video/cx23885/cx23885-cards.c | |
parent | 33e6c1a0de818d3698cdab27c42915661011319d (diff) | |
parent | 84d6ae431f315e8973aac3c3fe1d550fc9240ef3 (diff) |
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (222 commits)
V4L/DVB (13033): pt1: Don't use a deprecated DMA_BIT_MASK macro
V4L/DVB (13029): radio-si4713: remove #include <linux/version.h>
V4L/DVB (13027): go7007: convert printks to v4l2_info
V4L/DVB (13026): s2250-board: Implement brightness and contrast controls
V4L/DVB (13025): s2250-board: Fix memory leaks
V4L/DVB (13024): go7007: Implement vidioc_g_std and vidioc_querystd
V4L/DVB (13023): go7007: Merge struct gofh and go declarations
V4L/DVB (13022): go7007: Fix mpeg controls
V4L/DVB (13021): go7007: Fix whitespace and line lengths
V4L/DVB (13020): go7007: Updates to Kconfig and Makefile
V4L/DVB (13019): video: initial support for ADV7180
V4L/DVB (13018): kzalloc failure ignored in au8522_probe()
V4L/DVB (13017): gspca: kmalloc failure ignored in sd_start()
V4L/DVB (13016): kmalloc failure ignored in lgdt3304_attach() and s921_attach()
V4L/DVB (13015): kmalloc failure ignored in m920x_firmware_download()
V4L/DVB (13014): Add support for Compro VideoMate E800 (DVB-T part only)
V4L/DVB (13013): FM TX: si4713: Kconfig: Fixed two typos.
V4L/DVB (13012): uvc: introduce missing kfree
V4L/DVB (13011): Change tuner type of BeholdTV cards
V4L/DVB (13009): gspca - stv06xx-hdcs: Reduce exposure range
...
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-cards.c')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-cards.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c index 3143d85ef31d..bfdf79f1033c 100644 --- a/drivers/media/video/cx23885/cx23885-cards.c +++ b/drivers/media/video/cx23885/cx23885-cards.c | |||
@@ -210,6 +210,10 @@ struct cx23885_board cx23885_boards[] = { | |||
210 | .portb = CX23885_MPEG_ENCODER, | 210 | .portb = CX23885_MPEG_ENCODER, |
211 | .portc = CX23885_MPEG_DVB, | 211 | .portc = CX23885_MPEG_DVB, |
212 | }, | 212 | }, |
213 | [CX23885_BOARD_COMPRO_VIDEOMATE_E800] = { | ||
214 | .name = "Compro VideoMate E800", | ||
215 | .portc = CX23885_MPEG_DVB, | ||
216 | }, | ||
213 | }; | 217 | }; |
214 | const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards); | 218 | const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards); |
215 | 219 | ||
@@ -341,6 +345,10 @@ struct cx23885_subid cx23885_subids[] = { | |||
341 | .subvendor = 0x0070, | 345 | .subvendor = 0x0070, |
342 | .subdevice = 0x8541, | 346 | .subdevice = 0x8541, |
343 | .card = CX23885_BOARD_HAUPPAUGE_HVR1850, | 347 | .card = CX23885_BOARD_HAUPPAUGE_HVR1850, |
348 | }, { | ||
349 | .subvendor = 0x1858, | ||
350 | .subdevice = 0xe800, | ||
351 | .card = CX23885_BOARD_COMPRO_VIDEOMATE_E800, | ||
344 | }, | 352 | }, |
345 | }; | 353 | }; |
346 | const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids); | 354 | const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids); |
@@ -536,6 +544,7 @@ int cx23885_tuner_callback(void *priv, int component, int command, int arg) | |||
536 | case CX23885_BOARD_HAUPPAUGE_HVR1500Q: | 544 | case CX23885_BOARD_HAUPPAUGE_HVR1500Q: |
537 | case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H: | 545 | case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H: |
538 | case CX23885_BOARD_COMPRO_VIDEOMATE_E650F: | 546 | case CX23885_BOARD_COMPRO_VIDEOMATE_E650F: |
547 | case CX23885_BOARD_COMPRO_VIDEOMATE_E800: | ||
539 | /* Tuner Reset Command */ | 548 | /* Tuner Reset Command */ |
540 | bitmask = 0x04; | 549 | bitmask = 0x04; |
541 | break; | 550 | break; |
@@ -687,6 +696,7 @@ void cx23885_gpio_setup(struct cx23885_dev *dev) | |||
687 | break; | 696 | break; |
688 | case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H: | 697 | case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H: |
689 | case CX23885_BOARD_COMPRO_VIDEOMATE_E650F: | 698 | case CX23885_BOARD_COMPRO_VIDEOMATE_E650F: |
699 | case CX23885_BOARD_COMPRO_VIDEOMATE_E800: | ||
690 | /* GPIO-2 xc3028 tuner reset */ | 700 | /* GPIO-2 xc3028 tuner reset */ |
691 | 701 | ||
692 | /* The following GPIO's are on the internal AVCore (cx25840) */ | 702 | /* The following GPIO's are on the internal AVCore (cx25840) */ |
@@ -911,6 +921,7 @@ void cx23885_card_setup(struct cx23885_dev *dev) | |||
911 | case CX23885_BOARD_HAUPPAUGE_HVR1255: | 921 | case CX23885_BOARD_HAUPPAUGE_HVR1255: |
912 | case CX23885_BOARD_HAUPPAUGE_HVR1210: | 922 | case CX23885_BOARD_HAUPPAUGE_HVR1210: |
913 | case CX23885_BOARD_HAUPPAUGE_HVR1850: | 923 | case CX23885_BOARD_HAUPPAUGE_HVR1850: |
924 | case CX23885_BOARD_COMPRO_VIDEOMATE_E800: | ||
914 | default: | 925 | default: |
915 | ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ | 926 | ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ |
916 | ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ | 927 | ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ |
@@ -927,9 +938,10 @@ void cx23885_card_setup(struct cx23885_dev *dev) | |||
927 | case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H: | 938 | case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H: |
928 | case CX23885_BOARD_COMPRO_VIDEOMATE_E650F: | 939 | case CX23885_BOARD_COMPRO_VIDEOMATE_E650F: |
929 | case CX23885_BOARD_NETUP_DUAL_DVBS2_CI: | 940 | case CX23885_BOARD_NETUP_DUAL_DVBS2_CI: |
941 | case CX23885_BOARD_COMPRO_VIDEOMATE_E800: | ||
930 | dev->sd_cx25840 = v4l2_i2c_new_subdev(&dev->v4l2_dev, | 942 | dev->sd_cx25840 = v4l2_i2c_new_subdev(&dev->v4l2_dev, |
931 | &dev->i2c_bus[2].i2c_adap, | 943 | &dev->i2c_bus[2].i2c_adap, |
932 | "cx25840", "cx25840", 0x88 >> 1); | 944 | "cx25840", "cx25840", 0x88 >> 1, NULL); |
933 | v4l2_subdev_call(dev->sd_cx25840, core, load_fw); | 945 | v4l2_subdev_call(dev->sd_cx25840, core, load_fw); |
934 | break; | 946 | break; |
935 | } | 947 | } |