snd_printk("reset at 0x%lx failed!!!\n", chip->port); 
snd_printk(KERN_ERR "reset at 0x%lx failed!!!\n", chip->port); 
static int __devinit snd_es18xx_identify(es18xx_t *chip){	int hi,lo;	/* reset */	if (snd_es18xx_reset(chip) < 0) {                snd_printk("reset at 0x%lx failed!!!\n", chip->port);		return -ENODEV;	}	snd_es18xx_dsp_command(chip, 0xe7);	hi = snd_es18xx_dsp_get_byte(chip);	if (hi < 0) {		return hi;	}	lo = snd_es18xx_dsp_get_byte(chip);	if ((lo & 0xf0) != 0x80) {		return -ENODEV;	}	if (hi == 0x48) {		chip->version = 0x488;		return 0;	}	if (hi != 0x68) {		return -ENODEV;	}	if ((lo & 0x0f) < 8) {		chip->version = 0x688;		return 0;	}			        outb(0x40, chip->port + 0x04);	hi = inb(chip->port + 0x05);	lo = inb(chip->port + 0x05);	if (hi != lo) {		chip->version = hi << 8 | lo;		chip->ctrl_port = inb(chip->port + 0x05) << 8;		chip->ctrl_port += inb(chip->port + 0x05);		if ((chip->res_ctrl_port = request_region(chip->ctrl_port, 8, "ES18xx - CTRL")) == NULL) {			snd_printk(KERN_ERR PFX "unable go grab port 0x%lx\n", chip->ctrl_port);			return -EBUSY;		}		return 0;	}	/* If has Hardware volume */	if (snd_es18xx_mixer_writable(chip, 0x64, 0x04)) {		/* If has Audio2 */		if (snd_es18xx_mixer_writable(chip, 0x70, 0x7f)) {			/* If has volume count */			if (snd_es18xx_mixer_writable(chip, 0x64, 0x20)) {				chip->version = 0x1887;			} else {				chip->version = 0x1888;			}		} else {			chip->version = 0x1788;		}	}	else		chip->version = 0x1688;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/99b359ba10a582148c6725f428a33ba5356dd993/es18xx.c/buggy/sound/isa/es18xx.c