pbus->no_vra = 1; 
snd_nm256_mixer(nm256_t *chip){	ac97_bus_t *pbus;	ac97_template_t ac97;	int i, err;	static ac97_bus_ops_t ops = {		.reset = snd_nm256_ac97_reset,		.write = snd_nm256_ac97_write,		.read = snd_nm256_ac97_read,	};	/* looks like nm256 hangs up when unexpected registers are touched... */	static int mixer_regs[] = {		AC97_MASTER, AC97_HEADPHONE, AC97_MASTER_MONO,		AC97_PC_BEEP, AC97_PHONE, AC97_MIC, AC97_LINE, AC97_CD,		AC97_VIDEO, AC97_AUX, AC97_PCM, AC97_REC_SEL,		AC97_REC_GAIN, AC97_GENERAL_PURPOSE, AC97_3D_CONTROL,		AC97_EXTENDED_ID,		AC97_VENDOR_ID1, AC97_VENDOR_ID2,		-1	};	if ((err = snd_ac97_bus(chip->card, 0, &ops, NULL, &pbus)) < 0)		return err;	memset(&ac97, 0, sizeof(ac97));	ac97.scaps = AC97_SCAP_AUDIO; /* we support audio! */	ac97.limited_regs = 1;	for (i = 0; mixer_regs[i] >= 0; i++)		set_bit(mixer_regs[i], ac97.reg_accessed);	ac97.private_data = chip;	err = snd_ac97_mixer(pbus, &ac97, &chip->ac97);	if (err < 0)		return err;	if (! (chip->ac97->id & (0xf0000000))) {		/* looks like an invalid id */		sprintf(chip->card->mixername, "%s AC97", chip->card->driver);	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/1204de32d0df87892e56062042e25c775ca0e08c/nm256.c/clean/sound/pci/nm256/nm256.c