aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-03-20 22:03:52 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:08:12 -0400
commit60a41d3b61a714d98a36cddbe182cc6ff0794274 (patch)
tree50a349ef71477cf51afdc405d1e3f634658f4d74 /drivers
parent44a6481dcd9ec835bbd608b1b2ee47ee62c7e1d8 (diff)
V4L/DVB (6163): cx23885: remove old comments
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/cx23885/cx23885-core.c4
-rw-r--r--drivers/media/video/cx23885/cx23885-i2c.c4
-rw-r--r--drivers/media/video/cx23885/cx23885-reg.h11
-rw-r--r--drivers/media/video/cx23885/cx23885.h3
4 files changed, 3 insertions, 19 deletions
diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c
index 6f0a8dbc6b3b..3e1b62a2d50d 100644
--- a/drivers/media/video/cx23885/cx23885-core.c
+++ b/drivers/media/video/cx23885/cx23885-core.c
@@ -1043,10 +1043,6 @@ static int cx23885_start_dma(struct cx23885_tsport *port,
1043 cx_write(port->reg_gpcnt_ctl, 3); 1043 cx_write(port->reg_gpcnt_ctl, 3);
1044 q->count = 1; 1044 q->count = 1;
1045 1045
1046 /* A bug in the current 887 implementation, causes an NMI assert during
1047 * starting or stopping interrupts or dma. Avoid the bug for the time being,
1048 * enabling the developer to work on the demod/tuner locking work.
1049 */
1050 switch(dev->bridge) { 1046 switch(dev->bridge) {
1051 case CX23885_BRIDGE_885: 1047 case CX23885_BRIDGE_885:
1052 case CX23885_BRIDGE_887: 1048 case CX23885_BRIDGE_887:
diff --git a/drivers/media/video/cx23885/cx23885-i2c.c b/drivers/media/video/cx23885/cx23885-i2c.c
index 155ab928cd60..c40c37f2d139 100644
--- a/drivers/media/video/cx23885/cx23885-i2c.c
+++ b/drivers/media/video/cx23885/cx23885-i2c.c
@@ -267,12 +267,10 @@ static int detach_inform(struct i2c_client *client)
267void cx23885_call_i2c_clients(struct cx23885_i2c *bus, 267void cx23885_call_i2c_clients(struct cx23885_i2c *bus,
268 unsigned int cmd, void *arg) 268 unsigned int cmd, void *arg)
269{ 269{
270// struct cx23885_dev *dev = bus->dev;
271
272 if (bus->i2c_rc != 0) 270 if (bus->i2c_rc != 0)
273 return; 271 return;
274 272
275 i2c_clients_command(&bus->i2c_adap, cmd, arg); 273 i2c_clients_command(&bus->i2c_adap, cmd, arg);
276} 274}
277 275
278static int cx23885_algo_control(struct i2c_adapter *adap, 276static int cx23885_algo_control(struct i2c_adapter *adap,
diff --git a/drivers/media/video/cx23885/cx23885-reg.h b/drivers/media/video/cx23885/cx23885-reg.h
index 5cb692f20d28..771b22ac2153 100644
--- a/drivers/media/video/cx23885/cx23885-reg.h
+++ b/drivers/media/video/cx23885/cx23885-reg.h
@@ -71,21 +71,14 @@ Channel manager Data Structure entry = 20 DWORD
71#define RISC_WRITECM 0xC0000000 71#define RISC_WRITECM 0xC0000000
72#define RISC_WRITECR 0xD0000000 72#define RISC_WRITECR 0xD0000000
73 73
74//#define RISC_SYNC_ODD 0x80000000
75//#define RISC_SYNC_EVEN 0x80000200
76//#define RISC_RESYNC_ODD 0x80008000
77//#define RISC_RESYNC_EVEN 0x80008200
78 74
79// Do we need these? 75/* Do we need these? */
80#define RISC_WRITEC 0x50000000 76#define RISC_WRITEC 0x50000000
81#define RISC_READC 0xA0000000 77#define RISC_READC 0xA0000000
82 78
83// Is this used? 79/* Is this used? */
84#define RISC_IMM 0x00000001 80#define RISC_IMM 0x00000001
85 81
86//#define RISC_CNT_NONE 0x00000000
87//#define RISC_CNT_RSVR 0x00020000
88//#define RISC_JMP_SRP 0x01
89 82
90/* Audio and Video Core */ 83/* Audio and Video Core */
91#define HOST_REG1 0x00000000 84#define HOST_REG1 0x00000000
diff --git a/drivers/media/video/cx23885/cx23885.h b/drivers/media/video/cx23885/cx23885.h
index 4312c3fcc1ec..929235440e23 100644
--- a/drivers/media/video/cx23885/cx23885.h
+++ b/drivers/media/video/cx23885/cx23885.h
@@ -47,8 +47,6 @@
47/* Max number of inputs by card */ 47/* Max number of inputs by card */
48#define MAX_CX23885_INPUT 8 48#define MAX_CX23885_INPUT 8
49 49
50//#define SHADOW_MAX 3
51
52#define BUFFER_TIMEOUT (HZ) /* 0.5 seconds */ 50#define BUFFER_TIMEOUT (HZ) /* 0.5 seconds */
53 51
54#define CX23885_BOARD_NOAUTO UNSET 52#define CX23885_BOARD_NOAUTO UNSET
@@ -180,7 +178,6 @@ struct cx23885_dev {
180 int pci_bus, pci_slot; 178 int pci_bus, pci_slot;
181 u32 __iomem *lmmio; 179 u32 __iomem *lmmio;
182 u8 __iomem *bmmio; 180 u8 __iomem *bmmio;
183 //u32 shadow[SHADOW_MAX];
184 int pci_irqmask; 181 int pci_irqmask;
185 182
186 /* I2C adapters: Master 1 & 2 (External) & Master 3 (Internal only) */ 183 /* I2C adapters: Master 1 & 2 (External) & Master 3 (Internal only) */