/* initialize the chip - used by resume callback, too  */
static void snd_es1938_chip_init(struct es1938 *chip)
/* initialize the chip - used by resume callback, too  */
static void snd_es1938_chip_init(struct es1938 *chip)
{
	snd_es1938_reset(chip);
	pci_set_master(chip->pci);
	pci_write_config_word(chip->pci, SL_PCI_LEGACYCONTROL, 0x805f);
	pci_write_config_word(chip->pci, SL_PCI_DDMACONTROL, chip->ddma_port | 1);
	pci_write_config_dword(chip->pci, SL_PCI_CONFIG, 0);
	outb(0xf0, SLIO_REG(chip, IRQCONTROL));
	outb(0, SLDM_REG(chip, DMACLEAR));
}