diff options
author | Michael Hunold <devnull@localhost> | 2002-12-23 20:37:45 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2002-12-23 20:37:45 +0000 |
commit | 6db9f8d774b8f70c56c786e1637367d5b5f2b6ca (patch) | |
tree | 05ddacee654b31c4d0fd4ae6a3a789730a2e1f4d /linux/drivers/media/common/saa7146_vbi.c | |
parent | 0a77956ce8816e957f40b1b5437c6b3e2fd62e34 (diff) | |
download | mediapointer-dvb-s2-6db9f8d774b8f70c56c786e1637367d5b5f2b6ca.tar.gz mediapointer-dvb-s2-6db9f8d774b8f70c56c786e1637367d5b5f2b6ca.tar.bz2 |
For some unobvious reason, analog cards (ie. the MXB) and digital cards
(ie. the av7110) handle the odd/even fields differently. I added a new
field to the extension, which holds special flags of the extension and the
device. I declared the MXB way of handling fields as "normal", so the
av7110 extension sets SAA7146_EXT_SWAP_ODD_EVEN here.
@Holger: I added some superfluous "struct saa7146_dev *dev" variables
back to some functions. These cause ugly warnings at compile time, I admit,
but they are necessary if you want to use the debug macros to trace a
saa7146 register for example. Please leave them in for now -- I need this
when I switch between old-DVB / old-MXB <=> new-DVB / new-MXB drivers and
try to hack out the differences.
Diffstat (limited to 'linux/drivers/media/common/saa7146_vbi.c')
-rw-r--r-- | linux/drivers/media/common/saa7146_vbi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linux/drivers/media/common/saa7146_vbi.c b/linux/drivers/media/common/saa7146_vbi.c index a6f4cb06f..be318cfee 100644 --- a/linux/drivers/media/common/saa7146_vbi.c +++ b/linux/drivers/media/common/saa7146_vbi.c @@ -261,10 +261,8 @@ int buffer_prepare(struct file *file, struct videobuf_buffer *vb) static int buffer_setup(struct file *file, int *count, int *size) { -/* struct saa7146_fh *fh = file->private_data; struct saa7146_dev *dev = fh->dev; -*/ int llength,lines; lines = 16 * 2 ; /* 2 fields */ |