/*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>
#define can_set_rtl_file_private_data(fptr, p) do{ fptr->f_minor=(long)(p); } while(0)
#define can_get_rtl_file_private_data(fptr) ((void*)((fptr)->f_minor))
+extern can_spinlock_t can_irq_manipulation_lock;
+
#endif /*CAN_WITH_RTL*/
#endif /*_CAN_SYSDEP_H*/