X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/dd8f5100e766813dca62a82c6b99ebf3648f2448..f82bd1d22c6e3c27e06ded96e89463888cff2b8e:/lincan/include/can_sysdep.h diff --git a/lincan/include/can_sysdep.h b/lincan/include/can_sysdep.h index 0dd0e55..7117044 100644 --- a/lincan/include/can_sysdep.h +++ b/lincan/include/can_sysdep.h @@ -30,8 +30,13 @@ /*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_LINCAN_VME +#define CAN_ENABLE_VME_SUPPORT +#endif +#endif #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)) #include