]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/can_sysdep.h
Moved inclussion of lincan_config.h to can_sysdep.h
[lincan.git] / lincan / include / can_sysdep.h
index 0dd0e5546353e14b36d4b7a8066d926e322d3169..da79948b7a8e96d1d695d206e757bdce5f5bd9d8 100644 (file)
 #include <asm/irq.h>
 #include <asm/uaccess.h>
 
+#include "lincan_config.h"
+
 /*optional features*/
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0))
 #define CAN_ENABLE_KERN_FASYNC
+#ifdef CONFIG_PCI
 #define CAN_ENABLE_PCI_SUPPORT
 #endif
+#ifdef CONFIG_OC_LINCANVME
+#define CAN_ENABLE_VME_SUPPORT
+#endif
+#endif
 
 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0))
 #include <linux/malloc.h>