kernels/linux-2.4.0/drivers/ide/buddha.c
/*
     *  Check and acknowledge the interrupt status
     */
Check and acknowledge the interrupt status
Check and acknowledge the interrupt status
static int buddha_ack_intr(ide_hwif_t *hwif)
{
    unsigned char ch;
    ch = inb(hwif->io_ports[IDE_IRQ_OFFSET]);
    if (!(ch & 0x80))
	return 0;
    return 1;
}
static int buddha_ack_intr ( ide_hwif_t * hwif ) { unsigned char ch ; ch = inb ( hwif -> io_ports [ IDE_IRQ_OFFSET ] ) ; if ( ! ( ch & 0x80 ) ) return 0 ; return 1 ; }
Check and acknowledge the interrupt status
Check and acknowledge the interrupt status