summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18/cx18-queue.h
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-08-30 15:03:44 -0400
committerAndy Walls <awalls@radix.net>2008-08-30 15:03:44 -0400
commit99b7f0580a0f795799f38334b8558a2c5cba582f (patch)
tree24683865fec485bab63b0bf180092291cbe5b454 /linux/drivers/media/video/cx18/cx18-queue.h
parente7c607c6ff9c82873ef0e3f51ec9a4442a44e9b6 (diff)
downloadmediapointer-dvb-s2-99b7f0580a0f795799f38334b8558a2c5cba582f.tar.gz
mediapointer-dvb-s2-99b7f0580a0f795799f38334b8558a2c5cba582f.tar.bz2
cx18: Create cx18_ specific wrappers for all pci mmio accessesors.
From: Andy Walls <awalls@radix.net> cx18: Create cx18_ specific wrappers for all pci mmio accessesors. This is a first step in instrumenting all CX23418 PCI bus IO, to debug problems with accessing the CX23418's PCI memory mapped IO. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-queue.h')
-rw-r--r--linux/drivers/media/video/cx18/cx18-queue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-queue.h b/linux/drivers/media/video/cx18/cx18-queue.h
index 7f93bb13c..0c7df932d 100644
--- a/linux/drivers/media/video/cx18/cx18-queue.h
+++ b/linux/drivers/media/video/cx18/cx18-queue.h
@@ -28,6 +28,7 @@
static inline void cx18_buf_sync_for_cpu(struct cx18_stream *s,
struct cx18_buffer *buf)
{
+ /* FIXME check IO transfers */
pci_dma_sync_single_for_cpu(s->cx->dev, buf->dma_handle,
s->buf_size, s->dma);
}
@@ -35,6 +36,7 @@ static inline void cx18_buf_sync_for_cpu(struct cx18_stream *s,
static inline void cx18_buf_sync_for_device(struct cx18_stream *s,
struct cx18_buffer *buf)
{
+ /* FIXME check IO transfers */
pci_dma_sync_single_for_device(s->cx->dev, buf->dma_handle,
s->buf_size, s->dma);
}