kernels/linux-2.4.0/drivers/s390/block/mdisk.c
/*
 * mdisk interrupt handler called when read/write request finished
 * queues and marks a bottom half.
 *
 */
mdisk interrupt handler called when read/write request finished
queues and marks a bottom half.
mdisk interrupt handler called when read / write request finished queues and marks a bottom half .
void do_mdisk_interrupt(void)
{
        u16 code;
	mdisk_Dev *dev;
	code = S390_lowcore.cpu_addr;
	if ((code >> 8) != 0x03) {
	  printk("mnd: wrong sub-interruption code %d",code>>8);
	  return;
	}
	dev = (mdisk_Dev*) S390_lowcore.ext_params;
	dev->status = code & 0x00ff;
	queue_task(&dev->tqueue, &tq_immediate);
	mark_bh(IMMEDIATE_BH);
}
void do_mdisk_interrupt ( void ) { u16 code ; mdisk_Dev * dev ; code = S390_lowcore . cpu_addr ; if ( ( code >> 8 ) != 0x03 ) { printk ( " " , code >> 8 ) ; return ; } dev = ( mdisk_Dev * ) S390_lowcore . ext_params ; dev -> status = code & 0x00ff ; queue_task ( & dev -> tqueue , & tq_immediate ) ; mark_bh ( IMMEDIATE_BH ) ; }
mdisk interrupt handler called when read/write request finished
 queues and marks a bottom half.
mdisk interrupt handler called when read / write request finished queues and marks a bottom half .
/*
	 * pointer to devives structure given as external interruption
	 * parameter
	 */