snd_printk("unknown GF1 revision number at 0x%lx - 0x%x (0x%x)\n", gus->gf1.port, rev, val); snd_printk("  please - report to <perex@suse.cz>\n"); 
snd_printk(KERN_ERR "unknown GF1 revision number at 0x%lx - 0x%x (0x%x)\n", gus->gf1.port, rev, val); snd_printk(KERN_ERR "  please - report to <perex@suse.cz>\n"); 
static int snd_gus_check_version(snd_gus_card_t * gus){	unsigned long flags;	unsigned char val, rev;	snd_card_t *card;	card = gus->card;	spin_lock_irqsave(&gus->reg_lock, flags);	outb(0x20, GUSP(gus, REGCNTRLS));	val = inb(GUSP(gus, REGCNTRLS));	rev = inb(GUSP(gus, BOARDVERSION));	spin_unlock_irqrestore(&gus->reg_lock, flags);	snd_printdd("GF1 [0x%lx] init - val = 0x%x, rev = 0x%x\n", gus->gf1.port, val, rev);	strcpy(card->driver, "GUS");	strcpy(card->longname, "Gravis UltraSound Classic (2.4)");	if ((val != 255 && (val & 0x06)) || (rev >= 5 && rev != 255)) {		if (rev >= 5 && rev <= 9) {			gus->ics_flag = 1;			if (rev == 5)				gus->ics_flipped = 1;			card->longname[27] = '3';			card->longname[29] = rev == 5 ? '5' : '7';		}		if (rev >= 10 && rev != 255) {			if (rev >= 10 && rev <= 11) {				strcpy(card->driver, "GUS MAX");				strcpy(card->longname, "Gravis UltraSound MAX");				gus->max_flag = 1;			} else if (rev == 0x30) {				strcpy(card->driver, "GUS ACE");				strcpy(card->longname, "Gravis UltraSound Ace");				gus->ace_flag = 1;			} else if (rev == 0x50) {				strcpy(card->driver, "GUS Extreme");				strcpy(card->longname, "Gravis UltraSound Extreme");				gus->ess_flag = 1;			} else {				snd_printk("unknown GF1 revision number at 0x%lx - 0x%x (0x%x)\n", gus->gf1.port, rev, val);				snd_printk("  please - report to <perex@suse.cz>\n");			}		}	}	strcpy(card->shortname, card->longname);	gus->uart_enable = 1;	/* standard GUSes doesn't have midi uart trouble */	snd_gus_init_control(gus);	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/99b359ba10a582148c6725f428a33ba5356dd993/gus_main.c/clean/sound/isa/gus/gus_main.c