aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss/os.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /sound/oss/os.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'sound/oss/os.h')
-rw-r--r--sound/oss/os.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/sound/oss/os.h b/sound/oss/os.h
new file mode 100644
index 000000000000..d6b96297835c
--- /dev/null
+++ b/sound/oss/os.h
@@ -0,0 +1,51 @@
1#define ALLOW_SELECT
2#undef NO_INLINE_ASM
3#define SHORT_BANNERS
4#define MANUAL_PNP
5#undef DO_TIMINGS
6
7#include <linux/module.h>
8#include <linux/version.h>
9
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
30
31#include <linux/soundcard.h>
32
33#define FALSE 0
34#define TRUE 1
35
36extern int sound_alloc_dma(int chn, char *deviceID);
37extern int sound_open_dma(int chn, char *deviceID);
38extern void sound_free_dma(int chn);
39extern void sound_close_dma(int chn);
40
41extern void reprogram_timer(void);
42
43#define USE_AUTOINIT_DMA
44
45extern void *sound_mem_blocks[1024];
46extern int sound_nblocks;
47
48#undef PSEUDO_DMA_AUTOINIT
49#define ALLOW_BUFFER_MAPPING
50
51extern struct file_operations oss_sound_fops;