summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-vbi.c
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2007-08-18 02:57:55 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2007-08-18 02:57:55 -0700
commit17436676851595daf49b90f156dc96e5748cb8ce (patch)
treeadb6096b5314abf034b529684d0784d50f51250e /linux/drivers/media/video/cx88/cx88-vbi.c
parent8fd7ec8843e4d0228a4fa95f4caf2cbdfee9c475 (diff)
downloadmediapointer-dvb-s2-17436676851595daf49b90f156dc96e5748cb8ce.tar.gz
mediapointer-dvb-s2-17436676851595daf49b90f156dc96e5748cb8ce.tar.bz2
cx88: Add symbolic names for the PCI interrupt bits
From: Trent Piepho <xyzzy@speakeasy.org> Used for the PCI_INTMSK and PCI_INT_STAT registers. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-vbi.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-vbi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-vbi.c b/linux/drivers/media/video/cx88/cx88-vbi.c
index 86c1cf833..16c0d36bb 100644
--- a/linux/drivers/media/video/cx88/cx88-vbi.c
+++ b/linux/drivers/media/video/cx88/cx88-vbi.c
@@ -67,7 +67,7 @@ static int cx8800_start_vbi_dma(struct cx8800_dev *dev,
q->count = 1;
/* enable irqs */
- cx_set(MO_PCI_INTMSK, core->pci_irqmask | 0x01);
+ cx_set(MO_PCI_INTMSK, core->pci_irqmask | PCI_INT_VIDINT);
cx_set(MO_VID_INTMSK, 0x0f0088);
/* enable capture */
@@ -91,7 +91,7 @@ int cx8800_stop_vbi_dma(struct cx8800_dev *dev)
cx_clear(VID_CAPTURE_CONTROL,0x18);
/* disable irqs */
- cx_clear(MO_PCI_INTMSK, 0x000001);
+ cx_clear(MO_PCI_INTMSK, PCI_INT_VIDINT);
cx_clear(MO_VID_INTMSK, 0x0f0088);
return 0;
}