#define ALLOW_SELECT #undef NO_INLINE_ASM #define SHORT_BANNERS #define MANUAL_PNP #ifdef MODULE #define __NO_VERSION__ #include #include #ifdef MODVERSIONS #include #endif #endif #if LINUX_VERSION_CODE > 131328 #define LINUX21X #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define FALSE 0 #define TRUE 1 struct snd_wait { 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 extern caddr_t sound_mem_blocks[1024]; extern int sound_nblocks; #undef PSEUDO_DMA_AUTOINIT #define ALLOW_BUFFER_MAPPING