kernels/linux-2.4.0/drivers/scsi/ips.c
/****************************************************************************/
/*                                                                          */
/* Routine Name: ips_isintr_morpheus                                        */
/*                                                                          */
/* Routine Description:                                                     */
/*                                                                          */
/*   Test to see if an interrupt is for us                                  */
/*                                                                          */
/****************************************************************************/


Routine Description.

Test to see if an interrupt is for us
Routine Description . Test to see if an interrupt is for us
static int
ips_isintr_morpheus(ips_ha_t *ha) {
   u32 Isr;
   METHOD_TRACE("ips_isintr_morpheus", 2);
   Isr = readl(ha->mem_ptr + IPS_REG_I2O_HIR);
   if (Isr & IPS_BIT_I2O_OPQI)
      return (1);
   else
      return (0);
}
static int ips_isintr_morpheus ( ips_ha_t * ha ) { u32 Isr ; METHOD_TRACE ( " " , 2 ) ; Isr = readl ( ha -> mem_ptr + IPS_REG_I2O_HIR ) ; if ( Isr & IPS_BIT_I2O_OPQI ) return ( 1 ) ; else return ( 0 ) ; }
Routine Name: ips_isintr_morpheus
Routine Name : ips_isintr_morpheus