27 #include <linux/time.h>
28 #include <linux/wait.h>
29 #include <linux/module.h>
34 #define CRD_NAME "Generic AD1848/AD1847/CS4248"
35 #define DEV_NAME "ad1848"
41 "{Analog Devices,AD1847},"
42 "{Crystal Semiconductors,CS4248}}");
65 MODULE_PARM_DESC(thinkpad,
"Enable only for the onboard CS4248 of IBM Thinkpad 360/750/755 series.");
73 dev_err(dev,
"please specify port\n");
77 dev_err(dev,
"please specify irq\n");
81 dev_err(dev,
"please specify dma1\n");
87 static int __devinit snd_ad1848_probe(
struct device *dev,
unsigned int n)
118 pcm->
name, chip->
port, irq[n], dma1[n]);
135 static int __devexit snd_ad1848_remove(
struct device *dev,
unsigned int n)
153 static int snd_ad1848_resume(
struct device *dev,
unsigned int n)
164 static struct isa_driver snd_ad1848_driver = {
165 .match = snd_ad1848_match,
166 .probe = snd_ad1848_probe,
169 .suspend = snd_ad1848_suspend,
170 .resume = snd_ad1848_resume,
177 static int __init alsa_card_ad1848_init(
void)
182 static void __exit alsa_card_ad1848_exit(
void)