snd_printk("create: io: 0x%lx, sb: 0x%lx, vc: 0x%lx, mpu: 0x%lx, game: 0x%lx\n", 
snd_printk(KERN_DEBUG "create: io: 0x%lx, sb: 0x%lx, vc: 0x%lx, mpu: 0x%lx, game: 0x%lx\n", 
static int __devinit snd_es1938_create(snd_card_t * card,				    struct pci_dev * pci,				    es1938_t ** rchip){	es1938_t *chip;	int err;	static snd_device_ops_t ops = {		.dev_free =	snd_es1938_dev_free,	};	*rchip = NULL;	/* enable PCI device */	if ((err = pci_enable_device(pci)) < 0)		return err;        /* check, if we can restrict PCI DMA transfers to 24 bits */	if (pci_set_dma_mask(pci, 0x00ffffff) < 0 ||	    pci_set_consistent_dma_mask(pci, 0x00ffffff) < 0) {                snd_printk("architecture does not support 24bit PCI busmaster DMA\n");		pci_disable_device(pci);                return -ENXIO;        }	chip = kzalloc(sizeof(*chip), GFP_KERNEL);	if (chip == NULL) {		pci_disable_device(pci);		return -ENOMEM;	}	spin_lock_init(&chip->reg_lock);	spin_lock_init(&chip->mixer_lock);	chip->card = card;	chip->pci = pci;	if ((err = pci_request_regions(pci, "ESS Solo-1")) < 0) {		kfree(chip);		pci_disable_device(pci);		return err;	}	chip->io_port = pci_resource_start(pci, 0);	chip->sb_port = pci_resource_start(pci, 1);	chip->vc_port = pci_resource_start(pci, 2);	chip->mpu_port = pci_resource_start(pci, 3);	chip->game_port = pci_resource_start(pci, 4);	if (request_irq(pci->irq, snd_es1938_interrupt, SA_INTERRUPT|SA_SHIRQ, "ES1938", (void *)chip)) {		snd_printk("unable to grab IRQ %d\n", pci->irq);		snd_es1938_free(chip);		return -EBUSY;	}	chip->irq = pci->irq;#ifdef ES1938_DDEBUG	snd_printk("create: io: 0x%lx, sb: 0x%lx, vc: 0x%lx, mpu: 0x%lx, game: 0x%lx\n",		   chip->io_port, chip->sb_port, chip->vc_port, chip->mpu_port, chip->game_port);#endif	chip->ddma_port = chip->vc_port + 0x00;		/* fix from Thomas Sailer */	snd_es1938_chip_init(chip);	snd_card_set_pm_callback(card, es1938_suspend, es1938_resume, chip);	if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) {		snd_es1938_free(chip);		return err;	}	snd_card_set_dev(card, &pci->dev);	*rchip = chip;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/99b359ba10a582148c6725f428a33ba5356dd993/es1938.c/clean/sound/pci/es1938.c