diff options
author | Michael Hunold <devnull@localhost> | 2003-08-11 11:27:09 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-08-11 11:27:09 +0000 |
commit | 638d95f3a4fce85199a783efb204ddcb79e1fc0c (patch) | |
tree | e6e6be65bba037722ab3f7e875421fcd85c37d0d /linux/drivers/media/common/saa7146_hlp.c | |
parent | d7eeec469d2e3ca508f755ca02b85d5d0dfe5d55 (diff) | |
download | mediapointer-dvb-s2-638d95f3a4fce85199a783efb204ddcb79e1fc0c.tar.gz mediapointer-dvb-s2-638d95f3a4fce85199a783efb204ddcb79e1fc0c.tar.bz2 |
- follow latest changes in video-buf
- fix pgtable_build_single, it should work for all kinds of
buffers (system memory (kernel/user) and gfx-memory)
- add/change some debug messages
Diffstat (limited to 'linux/drivers/media/common/saa7146_hlp.c')
-rw-r--r-- | linux/drivers/media/common/saa7146_hlp.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/linux/drivers/media/common/saa7146_hlp.c b/linux/drivers/media/common/saa7146_hlp.c index 6ed3b13cf..8ad1b1b75 100644 --- a/linux/drivers/media/common/saa7146_hlp.c +++ b/linux/drivers/media/common/saa7146_hlp.c @@ -1044,16 +1044,6 @@ void saa7146_set_capture(struct saa7146_dev *dev, struct saa7146_buf *buf, struc DEB_CAP(("buf:%p, next:%p\n",buf,next)); -/* - printk("vdma%d.base_even: 0x%08x\n", 1,saa7146_read(dev,BASE_EVEN1)); - printk("vdma%d.base_odd: 0x%08x\n", 1,saa7146_read(dev,BASE_ODD1)); - printk("vdma%d.prot_addr: 0x%08x\n", 1,saa7146_read(dev,PROT_ADDR1)); - printk("vdma%d.base_page: 0x%08x\n", 1,saa7146_read(dev,BASE_PAGE1)); - printk("vdma%d.pitch: 0x%08x\n", 1,saa7146_read(dev,PITCH1)); - printk("vdma%d.num_line_byte: 0x%08x\n", 1,saa7146_read(dev,NUM_LINE_BYTE1)); - printk("vdma%d => vptr : 0x%08x\n", 1,saa7146_read(dev,PCI_VDP1)); -*/ - vdma1_prot_addr = saa7146_read(dev, PROT_ADDR1); if( 0 == vdma1_prot_addr ) { /* clear out beginning of streaming bit (rps register 0)*/ @@ -1080,6 +1070,16 @@ void saa7146_set_capture(struct saa7146_dev *dev, struct saa7146_buf *buf, struc program_capture_engine(dev,0); } +/* + printk("vdma%d.base_even: 0x%08x\n", 1,saa7146_read(dev,BASE_EVEN1)); + printk("vdma%d.base_odd: 0x%08x\n", 1,saa7146_read(dev,BASE_ODD1)); + printk("vdma%d.prot_addr: 0x%08x\n", 1,saa7146_read(dev,PROT_ADDR1)); + printk("vdma%d.base_page: 0x%08x\n", 1,saa7146_read(dev,BASE_PAGE1)); + printk("vdma%d.pitch: 0x%08x\n", 1,saa7146_read(dev,PITCH1)); + printk("vdma%d.num_line_byte: 0x%08x\n", 1,saa7146_read(dev,NUM_LINE_BYTE1)); + printk("vdma%d => vptr : 0x%08x\n", 1,saa7146_read(dev,PCI_VDP1)); +*/ + /* write the address of the rps-program */ saa7146_write(dev, RPS_ADDR0, dev->d_rps0.dma_handle); |