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. ]
This commit is contained in:
parent
b20531189a
commit
62ce633d36
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue