snd_printk("Can't initialize Aureal wavetable synth\n"); 
snd_printk(KERN_ERR "Can't initialize Aureal wavetable synth\n"); 
snd_vortex_probe(struct pci_dev *pci, const struct pci_device_id *pci_id){	static int dev;	snd_card_t *card;	vortex_t *chip;	int err;	// (1)	if (dev >= SNDRV_CARDS)		return -ENODEV;	if (!enable[dev]) {		dev++;		return -ENOENT;	}	// (2)	card = snd_card_new(index[dev], id[dev], THIS_MODULE, 0);	if (card == NULL)		return -ENOMEM;	// (3)	if ((err = snd_vortex_create(card, pci, &chip)) < 0) {		snd_card_free(card);		return err;	}	snd_vortex_workaround(pci, pcifix[dev]);	// (4) Alloc components.	// ADB pcm.	if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_ADB, NR_ADB)) < 0) {		snd_card_free(card);		return err;	}#ifndef CHIP_AU8820	// ADB SPDIF	if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_SPDIF, 1)) < 0) {		snd_card_free(card);		return err;	}	// A3D	if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_A3D, NR_A3D)) < 0) {		snd_card_free(card);		return err;	}#endif	/*	   // ADB I2S	   if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_I2S, 1)) < 0) {	   snd_card_free(card);	   return err;	   }	 */#ifndef CHIP_AU8810	// WT pcm.	if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_WT, NR_WT)) < 0) {		snd_card_free(card);		return err;	}#endif	// snd_ac97_mixer and Vortex mixer.	if ((err = snd_vortex_mixer(chip)) < 0) {		snd_card_free(card);		return err;	}	if ((err = snd_vortex_midi(chip)) < 0) {		snd_card_free(card);		return err;	}	vortex_gameport_register(chip);#if 0	if (snd_seq_device_new(card, 1, SNDRV_SEQ_DEV_ID_VORTEX_SYNTH,			       sizeof(snd_vortex_synth_arg_t), &wave) < 0	    || wave == NULL) {		snd_printk("Can't initialize Aureal wavetable synth\n");	} else {		snd_vortex_synth_arg_t *arg;		arg = SNDRV_SEQ_DEVICE_ARGPTR(wave);		strcpy(wave->name, "Aureal Synth");		arg->hwptr = vortex;		arg->index = 1;		arg->seq_ports = seq_ports[dev];		arg->max_voices = max_synth_voices[dev];	}#endif	// (5)	strcpy(card->driver, CARD_NAME_SHORT);	strcpy(card->shortname, CARD_NAME_SHORT);	sprintf(card->longname, "%s at 0x%lx irq %i",		card->shortname, chip->io, chip->irq);	if ((err = pci_read_config_word(pci, PCI_DEVICE_ID,				  &(chip->device))) < 0) {		snd_card_free(card);		return err;	}		if ((err = pci_read_config_word(pci, PCI_VENDOR_ID,				  &(chip->vendor))) < 0) {		snd_card_free(card);		return err;	}	if ((err = pci_read_config_byte(pci, PCI_REVISION_ID,				  &(chip->rev))) < 0) {		snd_card_free(card);		return err;	}#ifdef CHIP_AU8830	if ((chip->rev) != 0xfe && (chip->rev) != 0xfa) {		printk(KERN_ALERT		       "vortex: The revision (%x) of your card has not been seen before.\n",		       chip->rev);		printk(KERN_ALERT		       "vortex: Please email the results of 'lspci -vv' to openvortex-dev@nongnu.org.\n");		snd_card_free(card);		err = -ENODEV;		return err;	}#endif	// (6)	if ((err = snd_card_register(card)) < 0) {		snd_card_free(card);		return err;	}	// (7)	pci_set_drvdata(pci, card);	dev++;	vortex_connect_default(chip, 1);	vortex_enable_int(chip);	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/99b359ba10a582148c6725f428a33ba5356dd993/au88x0.c/buggy/sound/pci/au88x0/au88x0.c