aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64
diff options
context:
space:
mode:
authorNate Williams <nate@FreeBSD.org>1997-01-08 16:12:56 +0000
committerNate Williams <nate@FreeBSD.org>1997-01-08 16:12:56 +0000
commit62ce633d36eddca2e73da61e848cd4c0d1860505 (patch)
tree079355a2832f0e4169075953a01cc41e5d018c29 /sys/amd64
parentb20531189af3f4f7ea477adfae848169e3a52b62 (diff)
downloadsrc-62ce633d36eddca2e73da61e848cd4c0d1860505.tar.gz
src-62ce633d36eddca2e73da61e848cd4c0d1860505.zip
Make the code more consistant by using the INTR*MASK macros througout the
code. Reviewed by: bde [ Bruce suggest removing the macros completely, but I'm not up to that task quite yet. ]
Notes
Notes: svn path=/head/; revision=21438
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/pci/pci_bus.c4
-rw-r--r--sys/amd64/pci/pci_cfgreg.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/pci/pci_bus.c b/sys/amd64/pci/pci_bus.c
index 903214c44304..867ff074d2d2 100644
--- a/sys/amd64/pci/pci_bus.c
+++ b/sys/amd64/pci/pci_bus.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pcibus.c,v 1.26 1996/06/18 01:22:28 bde Exp $
+** $Id: pcibus.c,v 1.27 1996/10/30 22:38:55 asami Exp $
**
** pci bus subroutines for i386 architecture.
**
@@ -519,7 +519,7 @@ pcibus_imask_exclude (int irq, unsigned* maskptr)
if (! (*maskptr & mask))
return (-1);
- *maskptr &= ~mask;
+ INTRUNMASK (*maskptr, mask);
update_intr_masks();
return (0);
diff --git a/sys/amd64/pci/pci_cfgreg.c b/sys/amd64/pci/pci_cfgreg.c
index 903214c44304..867ff074d2d2 100644
--- a/sys/amd64/pci/pci_cfgreg.c
+++ b/sys/amd64/pci/pci_cfgreg.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pcibus.c,v 1.26 1996/06/18 01:22:28 bde Exp $
+** $Id: pcibus.c,v 1.27 1996/10/30 22:38:55 asami Exp $
**
** pci bus subroutines for i386 architecture.
**
@@ -519,7 +519,7 @@ pcibus_imask_exclude (int irq, unsigned* maskptr)
if (! (*maskptr & mask))
return (-1);
- *maskptr &= ~mask;
+ INTRUNMASK (*maskptr, mask);
update_intr_masks();
return (0);