26 #include <linux/module.h>
87 dev_err(pdev,
"please specify irq\n");
91 dev_err(pdev,
"please specify dma8\n");
97 static int __devinit snd_sb8_probe(
struct device *pdev,
unsigned int dev)
106 sizeof(
struct snd_sb8), &card);
125 static unsigned long possible_ports[] = {
129 for (i = 0; i <
ARRAY_SIZE(possible_ports); i++) {
193 irq[dev], dma8[dev]);
208 static int __devexit snd_sb8_remove(
struct device *pdev,
unsigned int dev)
216 static int snd_sb8_suspend(
struct device *dev,
unsigned int n,
224 snd_pcm_suspend_all(chip->
pcm);
225 snd_sbmixer_suspend(chip);
229 static int snd_sb8_resume(
struct device *dev,
unsigned int n)
236 snd_sbmixer_resume(chip);
242 #define DEV_NAME "sb8"
245 .match = snd_sb8_match,
246 .probe = snd_sb8_probe,
249 .suspend = snd_sb8_suspend,
250 .resume = snd_sb8_resume,
257 static int __init alsa_card_sb8_init(
void)
262 static void __exit alsa_card_sb8_exit(
void)