Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/gregkh/driver...
[linux-2.6/verdex.git] / sound / oss / os.h
blobd6b96297835ca8b2ab284d4a1920c59848177f15
1 #define ALLOW_SELECT
2 #undef NO_INLINE_ASM
3 #define SHORT_BANNERS
4 #define MANUAL_PNP
5 #undef DO_TIMINGS
7 #include <linux/module.h>
8 #include <linux/version.h>
10 #ifdef __KERNEL__
11 #include <linux/utsname.h>
12 #include <linux/string.h>
13 #include <linux/fs.h>
14 #include <asm/dma.h>
15 #include <asm/io.h>
16 #include <asm/param.h>
17 #include <linux/sched.h>
18 #include <linux/slab.h>
19 #include <linux/ioport.h>
20 #include <asm/page.h>
21 #include <asm/system.h>
22 #ifdef __alpha__
23 #include <asm/segment.h>
24 #endif
25 #include <linux/vmalloc.h>
26 #include <asm/uaccess.h>
27 #include <linux/poll.h>
28 #include <linux/pci.h>
29 #endif
31 #include <linux/soundcard.h>
33 #define FALSE 0
34 #define TRUE 1
36 extern int sound_alloc_dma(int chn, char *deviceID);
37 extern int sound_open_dma(int chn, char *deviceID);
38 extern void sound_free_dma(int chn);
39 extern void sound_close_dma(int chn);
41 extern void reprogram_timer(void);
43 #define USE_AUTOINIT_DMA
45 extern void *sound_mem_blocks[1024];
46 extern int sound_nblocks;
48 #undef PSEUDO_DMA_AUTOINIT
49 #define ALLOW_BUFFER_MAPPING
51 extern struct file_operations oss_sound_fops;