int sdla_intack (sdlahw_t* hw) 
static int sdla_intack (sdlahw_t* hw) 
int sdla_intack (sdlahw_t* hw){	unsigned port = hw->port;	int tmp;	switch (hw->type) {	case SDLA_S502E:		/* To acknoledge hardware interrupt we have to toggle bit 3 of		 * control register: \_/		 * Note that interrupt control operations on S502E are allowed		 * only if CPU is enabled (bit 1 of status register is set).		 */		if (_INB(port) & 0x01) {			tmp = hw->regs[0] & ~0x04;			_OUTB(port, tmp);			tmp |= 0x04;			_OUTB(port, tmp);			hw->regs[0] = tmp;		}		else return -EIO;		break;	case SDLA_S503:		if (_INB(port) & 0x04) {			tmp = hw->regs[0] & ~0x08;			_OUTB(port, tmp);			tmp |= 0x08;			_OUTB(port, tmp);			hw->regs[0] = tmp;		}		break;	case SDLA_S502A:	case SDLA_S507:	case SDLA_S508:	break;	default:		return -EINVAL;	}	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/7665a08928f241247afe8c76865cdbe4ef5489bf/sdladrv.c/clean/drivers/net/wan/sdladrv.c