26 #include <linux/time.h>
27 #include <linux/wait.h>
28 #include <linux/module.h>
34 #define CRD_NAME "Generic CS4231"
35 #define DEV_NAME "cs4231"
77 dev_err(dev,
"please specify port\n");
81 dev_err(dev,
"please specify irq\n");
85 dev_err(dev,
"please specify dma1\n");
91 static int __devinit snd_cs4231_probe(
struct device *dev,
unsigned int n)
117 pcm->
name, chip->
port, irq[n], dma1[n]);
133 mpu_port[n], 0, mpu_irq[n],
135 dev_warn(dev,
"MPU401 not detected\n");
151 static int __devexit snd_cs4231_remove(
struct device *dev,
unsigned int n)
169 static int snd_cs4231_resume(
struct device *dev,
unsigned int n)
180 static struct isa_driver snd_cs4231_driver = {
181 .match = snd_cs4231_match,
182 .probe = snd_cs4231_probe,
185 .suspend = snd_cs4231_suspend,
186 .resume = snd_cs4231_resume,
193 static int __init alsa_card_cs4231_init(
void)
198 static void __exit alsa_card_cs4231_exit(
void)