diff options
author | nate <nate@FreeBSD.org> | 1997-01-08 16:12:56 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1997-01-08 16:12:56 +0000 |
commit | 68ca277fecfa929cb5c1eb75c7aa1084221a2c22 (patch) | |
tree | 079355a2832f0e4169075953a01cc41e5d018c29 /sys/i386 | |
parent | 06bc53a1a80bf8b1de7effb6f315fd4ce35bd29e (diff) | |
download | FreeBSD-src-68ca277fecfa929cb5c1eb75c7aa1084221a2c22.zip FreeBSD-src-68ca277fecfa929cb5c1eb75c7aa1084221a2c22.tar.gz |
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.
]
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/isa/pcibus.c | 4 | ||||
-rw-r--r-- | sys/i386/pci/pci_bus.c | 4 | ||||
-rw-r--r-- | sys/i386/pci/pci_cfgreg.c | 4 | ||||
-rw-r--r-- | sys/i386/pci/pci_pir.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/i386/isa/pcibus.c b/sys/i386/isa/pcibus.c index 903214c..867ff07 100644 --- a/sys/i386/isa/pcibus.c +++ b/sys/i386/isa/pcibus.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/i386/pci/pci_bus.c b/sys/i386/pci/pci_bus.c index 903214c..867ff07 100644 --- a/sys/i386/pci/pci_bus.c +++ b/sys/i386/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/i386/pci/pci_cfgreg.c b/sys/i386/pci/pci_cfgreg.c index 903214c..867ff07 100644 --- a/sys/i386/pci/pci_cfgreg.c +++ b/sys/i386/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); diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c index 903214c..867ff07 100644 --- a/sys/i386/pci/pci_pir.c +++ b/sys/i386/pci/pci_pir.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); |