diff options
author | Srikant Patnaik | 2015-01-13 15:08:24 +0530 |
---|---|---|
committer | Srikant Patnaik | 2015-01-13 15:08:24 +0530 |
commit | 97327692361306d1e6259021bc425e32832fdb50 (patch) | |
tree | fe9088f3248ec61e24f404f21b9793cb644b7f01 /sound/oss/os.h | |
parent | 2d05a8f663478a44e088d122e0d62109bbc801d0 (diff) | |
parent | a3a8b90b61e21be3dde9101c4e86c881e0f06210 (diff) | |
download | FOSSEE-netbook-kernel-source-97327692361306d1e6259021bc425e32832fdb50.tar.gz FOSSEE-netbook-kernel-source-97327692361306d1e6259021bc425e32832fdb50.tar.bz2 FOSSEE-netbook-kernel-source-97327692361306d1e6259021bc425e32832fdb50.zip |
dirty fix to merging
Diffstat (limited to 'sound/oss/os.h')
-rw-r--r-- | sound/oss/os.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/sound/oss/os.h b/sound/oss/os.h new file mode 100644 index 00000000..75ad0cd0 --- /dev/null +++ b/sound/oss/os.h @@ -0,0 +1,45 @@ +#define ALLOW_SELECT +#undef NO_INLINE_ASM +#define SHORT_BANNERS +#define MANUAL_PNP +#undef DO_TIMINGS + +#include <linux/module.h> + +#ifdef __KERNEL__ +#include <linux/string.h> +#include <linux/fs.h> +#include <asm/dma.h> +#include <asm/io.h> +#include <asm/param.h> +#include <linux/sched.h> +#include <linux/slab.h> +#include <linux/ioport.h> +#include <asm/page.h> +#include <linux/vmalloc.h> +#include <asm/uaccess.h> +#include <linux/poll.h> +#include <linux/pci.h> +#endif + +#include <linux/soundcard.h> + +#define FALSE 0 +#define TRUE 1 + +extern int sound_alloc_dma(int chn, char *deviceID); +extern int sound_open_dma(int chn, char *deviceID); +extern void sound_free_dma(int chn); +extern void sound_close_dma(int chn); + +extern void reprogram_timer(void); + +#define USE_AUTOINIT_DMA + +extern void *sound_mem_blocks[1024]; +extern int sound_nblocks; + +#undef PSEUDO_DMA_AUTOINIT +#define ALLOW_BUFFER_MAPPING + +extern const struct file_operations oss_sound_fops; |