diff options
author | Johannes Stezenbach <devnull@localhost> | 2004-11-21 22:36:55 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2004-11-21 22:36:55 +0000 |
commit | 83702e44e68343db073aec7f666e5207046d7af2 (patch) | |
tree | d804111bb9b3e2c170884eb7d1c4bd54e7c1d59e /linux/include/media/saa7146.h | |
parent | 61f76e43e1717def1801bd3c5ee7c67a289e43a5 (diff) | |
download | mediapointer-dvb-s2-83702e44e68343db073aec7f666e5207046d7af2.tar.gz mediapointer-dvb-s2-83702e44e68343db073aec7f666e5207046d7af2.tar.bz2 |
- prefix IER_DISABLE and IER_ENABLE with SAA7146_
- add SAA7146_ISR_CLEAR
- use those consistently in the ttpci driver
Diffstat (limited to 'linux/include/media/saa7146.h')
-rw-r--r-- | linux/include/media/saa7146.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/include/media/saa7146.h b/linux/include/media/saa7146.h index 9d99d044b..38667239f 100644 --- a/linux/include/media/saa7146.h +++ b/linux/include/media/saa7146.h @@ -63,10 +63,12 @@ extern unsigned int saa7146_debug; #define DEB_INT(x) if (0!=(DEBUG_VARIABLE&0x20)) { DEBUG_PROLOG; printk x; } /* interrupt debug messages */ #define DEB_CAP(x) if (0!=(DEBUG_VARIABLE&0x40)) { DEBUG_PROLOG; printk x; } /* capture debug messages */ -#define IER_DISABLE(x,y) \ +#define SAA7146_IER_DISABLE(x,y) \ saa7146_write(x, IER, saa7146_read(x, IER) & ~(y)); -#define IER_ENABLE(x,y) \ +#define SAA7146_IER_ENABLE(x,y) \ saa7146_write(x, IER, saa7146_read(x, IER) | (y)); +#define SAA7146_ISR_CLEAR(x,y) \ + saa7146_write(x, ISR, (y)); struct saa7146_dev; struct saa7146_extension; |