diff options
author | Johannes Stezenbach <devnull@localhost> | 2005-01-08 18:26:26 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2005-01-08 18:26:26 +0000 |
commit | e6828816391df78801ee9ab246325cd7a51a60c1 (patch) | |
tree | 55dae2e4a2b27016397528abf4d26c55441cad28 /linux/drivers/media/dvb/ttpci/av7110.h | |
parent | d81bf90c5b7d37b521c936be7360363904eeebea (diff) | |
download | mediapointer-dvb-s2-e6828816391df78801ee9ab246325cd7a51a60c1.tar.gz mediapointer-dvb-s2-e6828816391df78801ee9ab246325cd7a51a60c1.tar.bz2 |
patch by Emard:
budgetpatch integrated into dvb-ttpci:
enables full ts option running in parallel
with all previous functions of dvb-ttpci.
This is done by opening DMA3 channel
at port B and registering it as second demux
named demux1
demux1 has full ts capability and is accompanied
by net1 and dvr1 but has no frontend device.
It uses frontend0 which is in hardware permanently
connected to both demux0 and demux1.
net1 can create its full ts network devices,
they are named dvb010, dv010 etc. Devices created
by net0 remain named dvb0_0 etc as before.
kernel parameter for dvb-ttpci: budgetpatch=0,1,2
0-no budgetpatch
1-autodetect
2-alywas
autodetect resets saa7146. Avoid on systems that
don't like resetting of saa7146.
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/av7110.h')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110.h | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.h b/linux/drivers/media/dvb/ttpci/av7110.h index 019998055..ba45214d1 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.h +++ b/linux/drivers/media/dvb/ttpci/av7110.h @@ -75,7 +75,7 @@ struct av7110 { /* devices */ struct dvb_device dvb_dev; - struct dvb_net dvb_net; + struct dvb_net dvb_net, dvb_net1; struct video_device *v4l_dev; struct video_device *vbi_dev; @@ -152,12 +152,19 @@ struct av7110 { ca_slot_info_t ci_slot[2]; int vidmode; - struct dmxdev dmxdev; - struct dvb_demux demux; - - struct dmx_frontend hw_frontend; - struct dmx_frontend mem_frontend; - + struct dmxdev dmxdev, dmxdev1; + struct dvb_demux demux, demux1; + spinlock_t feedlock1; /* for budget mode demux1 */ + int feeding1; + u8 tsf; + u32 ttbp; + unsigned char *grabbing; + struct saa7146_pgtable pt; + struct tasklet_struct vpe_tasklet; + + struct dmx_frontend hw_frontend, hw_frontend1; + struct dmx_frontend mem_frontend, mem_frontend1; + int fe_synced; struct semaphore pid_mutex; |