#define ALLOW_SELECT #undef NO_INLINE_ASM #define SHORT_BANNERS #define MANUAL_PNP #undef DO_TIMINGS #ifdef MODULE #define __NO_VERSION__ #include #include #endif #if LINUX_VERSION_CODE > 131328 #define LINUX21X #endif #ifdef __KERNEL__ #include #include #include #include #include #include #include #include #include #include #include #ifdef __alpha__ #include #endif #include #include #include #include #include #endif #include #include #define FALSE 0 #define TRUE 1 struct snd_wait { volatile int opts; }; 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); #define RUNTIME_DMA_ALLOC #define USE_AUTOINIT_DMA extern caddr_t sound_mem_blocks[1024]; extern int sound_mem_sizes[1024]; extern int sound_nblocks; #undef PSEUDO_DMA_AUTOINIT #define ALLOW_BUFFER_MAPPING