summaryrefslogtreecommitdiff
path: root/zconfig.h
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-07-16 22:09:07 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-07-16 22:09:07 +0000
commit1818360e59b558561a6b0b530d2c9ef7f2407da5 (patch)
tree0dfea157fa66dc329a1107e891a8af37aa0facba /zconfig.h
parentb6f5d94bb37d52f93b2b869c1105ded1fe520fe8 (diff)
Add udev support (courtesy matt / creslin)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@433 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zconfig.h')
-rwxr-xr-xzconfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/zconfig.h b/zconfig.h
index 936c15a..48b0722 100755
--- a/zconfig.h
+++ b/zconfig.h
@@ -62,6 +62,11 @@
*/
/* #define NO_ECHOCAN_DISABLE */
+/* udev support */
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
+#define CONFIG_ZAP_UDEV
+#endif
+
/* We now use the linux kernel config to detect which options to use */
/* You can still override them below */
#if defined(CONFIG_HDLC) || defined(CONFIG_HDLC_MODULE)