7 #include <linux/module.h>
10 #include <linux/string.h>
14 #include <asm/param.h>
15 #include <linux/sched.h>
16 #include <linux/slab.h>
17 #include <linux/ioport.h>
19 #include <linux/vmalloc.h>
20 #include <asm/uaccess.h>
21 #include <linux/poll.h>
22 #include <linux/pci.h>
25 #include <linux/soundcard.h>
30 extern int sound_alloc_dma(int chn, char *deviceID);
31 extern int sound_open_dma(int chn, char *deviceID);
32 extern void sound_free_dma(int chn);
33 extern void sound_close_dma(int chn);
35 extern void reprogram_timer(void);
37 #define USE_AUTOINIT_DMA
39 extern void *sound_mem_blocks[1024];
40 extern int sound_nblocks;
42 #undef PSEUDO_DMA_AUTOINIT
43 #define ALLOW_BUFFER_MAPPING
45 extern const struct file_operations oss_sound_fops;