u8				tmp;	/* used for disabling/enabling ints */ 
static void dfx_interrupt(int irq, void *dev_id, struct pt_regs	*regs)	{	struct net_device	*dev = dev_id;	DFX_board_t		*bp;	/* private board structure pointer */	u8				tmp;	/* used for disabling/enabling ints */	/* Get board pointer only if device structure is valid */	bp = dev->priv;	spin_lock(&bp->lock);		/* See if we're already servicing an interrupt */	/* Service adapter interrupts */	if (bp->bus_type == DFX_BUS_TYPE_PCI)		{		/* Disable PDQ-PFI interrupts at PFI */		dfx_port_write_long(bp, PFI_K_REG_MODE_CTRL, PFI_MODE_M_DMA_ENB);		/* Call interrupt service routine for this adapter */		dfx_int_common(dev);		/* Clear PDQ interrupt status bit and reenable interrupts */		dfx_port_write_long(bp, PFI_K_REG_STATUS, PFI_STATUS_M_PDQ_INT);		dfx_port_write_long(bp, PFI_K_REG_MODE_CTRL,					(PFI_MODE_M_PDQ_INT_ENB + PFI_MODE_M_DMA_ENB));		}	else		{		/* Disable interrupts at the ESIC */		dfx_port_read_byte(bp, PI_ESIC_K_IO_CONFIG_STAT_0, &tmp);		tmp &= ~PI_CONFIG_STAT_0_M_INT_ENB;		dfx_port_write_byte(bp, PI_ESIC_K_IO_CONFIG_STAT_0, tmp);		/* Call interrupt service routine for this adapter */		dfx_int_common(dev);		/* Reenable interrupts at the ESIC */		dfx_port_read_byte(bp, PI_ESIC_K_IO_CONFIG_STAT_0, &tmp);		tmp |= PI_CONFIG_STAT_0_M_INT_ENB;		dfx_port_write_byte(bp, PI_ESIC_K_IO_CONFIG_STAT_0, tmp);		}	spin_unlock(&bp->lock);	}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/feea1db26e5babbedf1f4f36223e21b2f2d6f499/defxx.c/clean/drivers/net/defxx.c