#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>