voip-config.h.in
上传用户:weyjxb
上传日期:2020-05-18
资源大小:52k
文件大小:1k
- /*
- * Configuration file for Creative VOIPblaster driver
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version
- * 2 of the License, or (at your option) any later version.
- *
- * Authors: Craig Southeren <csoutheren@quicknet.net>
- *
- * $Log: voip-config.h.in,v $
- * Revision 1.1.1.1 2001/11/14 05:05:12 tadavis
- * Imported Sources
- *
- *
- *
- */
-
- /*
- * defines the different types of kernels
- * 0 = standard 2.2 kernels, 2 = standard 2.4 kernels and 1 = RedHat 2.2 kernels
- * This needs to be a single #define to autoconf will work on stand-alone
- * module installations
- * Default value is to use 2.4 kernel
- */
- #define VOIP_KERNEL_TYPE 2
- /******************************************************************/
- /* Standard 2.2 kernels */
- #if VOIP_KERNEL_TYPE == 0
- #define VOIP_CHECK_ASYNC_QUEUE 1
- #define VOIP_KILL_FASYNC(q,e,d) kill_fasync(q,e)
- #endif
- /* RedHat 2.2 kernels */
- #if VOIP_KERNEL_TYPE == 1
- #define VOIP_CHECK_ASYNC_QUEUE 1
- #define VOIP_KILL_FASYNC(q,e,d) kill_fasync(q,e,POLL_IN)
- #endif
- /* Standard 2.4 kernels */
- #if VOIP_KERNEL_TYPE == 2
- #define VOIP_CHECK_ASYNC_QUEUE 0
- #define VOIP_KILL_FASYNC(q,e,d) kill_fasync(&(q),e,d)
- #endif