[PATCH 6/9 v2] cx23885: implement tuner_bus parameter for cx23885_board structure.

Previous thread: [PATCH 8/9 v2] cx23885: disable MSI for NetUP cards, otherwise CI is not working by Igor M. Liplianin on Sunday, January 2, 2011 - 5:07 am. (1 message)

Next thread: [PATCH 2/9 v2] Altera FPGA based CI driver module. by Igor M. Liplianin on Sunday, January 2, 2011 - 5:01 am. (1 message)
From: Igor M. Liplianin
Date: Sunday, January 2, 2011 - 5:05 am

There is two external I2C buses in cx23885 chip.
Currently, analog tuners supported for second I2C bus only
In NetUP Dual DVB-T/C CI RF card tuners connected to first bus
So, in order to support analog tuners sitting on first bus
we need modifications.

Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
---
 drivers/media/video/cx23885/cx23885-cards.c |    5 +++++
 drivers/media/video/cx23885/cx23885-core.c  |    5 +++--
 drivers/media/video/cx23885/cx23885-video.c |    7 ++++---
 drivers/media/video/cx23885/cx23885.h       |    2 ++
 4 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c
index 1ef4f7b..7de6379 100644
--- a/drivers/media/video/cx23885/cx23885-cards.c
+++ b/drivers/media/video/cx23885/cx23885-cards.c
@@ -94,6 +94,7 @@ struct cx23885_board cx23885_boards[] = {
 		.portc		= CX23885_MPEG_DVB,
 		.tuner_type	= TUNER_PHILIPS_TDA8290,
 		.tuner_addr	= 0x42, /* 0x84 >> 1 */
+		.tuner_bus	= 1,
 		.input          = {{
 			.type   = CX23885_VMUX_TELEVISION,
 			.vmux   =	CX25840_VIN7_CH3 |
@@ -216,6 +217,7 @@ struct cx23885_board cx23885_boards[] = {
 		.name		= "Mygica X8506 DMB-TH",
 		.tuner_type = TUNER_XC5000,
 		.tuner_addr = 0x61,
+		.tuner_bus	= 1,
 		.porta		= CX23885_ANALOG_VIDEO,
 		.portb		= CX23885_MPEG_DVB,
 		.input		= {
@@ -245,6 +247,7 @@ struct cx23885_board cx23885_boards[] = {
 		.name		= "Magic-Pro ProHDTV Extreme 2",
 		.tuner_type = TUNER_XC5000,
 		.tuner_addr = 0x61,
+		.tuner_bus	= 1,
 		.porta		= CX23885_ANALOG_VIDEO,
 		.portb		= CX23885_MPEG_DVB,
 		.input		= {
@@ -293,6 +296,7 @@ struct cx23885_board cx23885_boards[] = {
 		.porta          = CX23885_ANALOG_VIDEO,
 		.tuner_type     = TUNER_XC2028,
 		.tuner_addr     = 0x61,
+		.tuner_bus	= 1,
 		.input          = {{
 			.type   = CX23885_VMUX_TELEVISION,
 			.vmux   = CX25840_VIN2_CH1 |
@@ -317,6 +321,7 @@ struct cx23885_board cx23885_boards[] = {
 		.name		= "GoTView X5 3D ...
Previous thread: [PATCH 8/9 v2] cx23885: disable MSI for NetUP cards, otherwise CI is not working by Igor M. Liplianin on Sunday, January 2, 2011 - 5:07 am. (1 message)

Next thread: [PATCH 2/9 v2] Altera FPGA based CI driver module. by Igor M. Liplianin on Sunday, January 2, 2011 - 5:01 am. (1 message)