X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/92b76dca553a98a228f368f8ff6eedc25e33b870..ce073e28de97760024a221efb3dcd799a0b98969:/lincan/include/main.h diff --git a/lincan/include/main.h b/lincan/include/main.h index 78eace8..2893ef7 100644 --- a/lincan/include/main.h +++ b/lincan/include/main.h @@ -13,6 +13,10 @@ #include "./can_queue.h" #include "lincan_config.h" +#ifdef CONFIG_OC_LINCANVME +#define CAN_ENABLE_VME_SUPPORT +#endif + #ifdef CAN_DEBUG #define DEBUGMSG(fmt,args...) can_printk(KERN_ERR "can.o (debug): " fmt,\ ##args) @@ -88,6 +92,7 @@ struct candevice_t { struct canhardware_t *hosthardware_p; union { + void *anydev; #ifdef CAN_ENABLE_PCI_SUPPORT struct pci_dev *pcidev; #endif /*CAN_ENABLE_PCI_SUPPORT*/ @@ -474,6 +479,8 @@ struct boardtype_t { const struct boardtype_t* boardtype_find(const char *str); +int can_check_dev_taken(void *anydev); + #ifdef CAN_WITH_RTL extern int can_rtl_priority; #endif /*CAN_WITH_RTL*/