Root/
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 | |
9 | #ifdef __KERNEL__ |
10 | #include <linux/string.h> |
11 | #include <linux/fs.h> |
12 | #include <asm/dma.h> |
13 | #include <asm/io.h> |
14 | #include <asm/param.h> |
15 | #include <linux/sched.h> |
16 | #include <linux/slab.h> |
17 | #include <linux/ioport.h> |
18 | #include <asm/page.h> |
19 | #include <linux/vmalloc.h> |
20 | #include <asm/uaccess.h> |
21 | #include <linux/poll.h> |
22 | #include <linux/pci.h> |
23 | #endif |
24 | |
25 | #include <linux/soundcard.h> |
26 | |
27 | #define FALSE 0 |
28 | #define TRUE 1 |
29 | |
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); |
34 | |
35 | extern void reprogram_timer(void); |
36 | |
37 | #define USE_AUTOINIT_DMA |
38 | |
39 | extern void *sound_mem_blocks[1024]; |
40 | extern int sound_nblocks; |
41 | |
42 | #undef PSEUDO_DMA_AUTOINIT |
43 | #define ALLOW_BUFFER_MAPPING |
44 | |
45 | extern const struct file_operations oss_sound_fops; |
46 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9