40 #include <linux/module.h>
41 #include <linux/pci.h>
42 #include <linux/slab.h>
88 return snd_cs5530_free(chip);
94 pci_set_drvdata(pci,
NULL);
111 unsigned long sb_base;
112 u8 irq, dma8, dma16 = 0;
118 .dev_free = snd_cs5530_dev_free,
145 snd_cs5530_free(chip);
149 map =
readw(mem + 0x18);
161 sb_base = 0x220 + 0x20 * (map & 3);
167 snd_cs5530_free(chip);
173 else if (map & (1<<6))
176 irq = snd_cs5530_mixer_read(sb_base, 0x80) & 0x0F;
177 dma8 = snd_cs5530_mixer_read(sb_base, 0x81);
181 else if (dma8 & 0x40)
183 else if (dma8 & 0x80)
187 snd_cs5530_free(chip);
195 else if (dma8 & 0x08)
199 snd_cs5530_free(chip);
213 snd_cs5530_free(chip);
224 snd_cs5530_free(chip);
231 snd_cs5530_free(chip);
238 snd_cs5530_free(chip);
244 snd_cs5530_free(chip);
273 err = snd_cs5530_create(card, pci, &chip);
288 pci_set_drvdata(pci, card);
294 .name = KBUILD_MODNAME,
295 .id_table = snd_cs5530_ids,
296 .probe = snd_cs5530_probe,