]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/boardlist.c
Moved inclussion of lincan_config.h to can_sysdep.h
[lincan.git] / lincan / src / boardlist.c
index 0f87484f3354bd7e8a6e39f105224086db1fee40..38fbd3cfad5cec4f3fbfc7e1f55448761e4c5f47 100644 (file)
@@ -10,9 +10,8 @@
 #include "../include/can_sysdep.h"
 #include "../include/main.h"
 
-#include "lincan_config.h"
-
 extern int template_register(struct hwspecops_t *hwspecops);
+extern int virtual_register(struct hwspecops_t *hwspecops);
 extern int pip5_register(struct hwspecops_t *hwspecops);
 extern int pip6_register(struct hwspecops_t *hwspecops);
 extern int m437_register(struct hwspecops_t *hwspecops);
@@ -31,7 +30,9 @@ extern int ssv_register(struct hwspecops_t *hwspecops);
 extern int bfadcan_register(struct hwspecops_t *hwspecops);
 extern int pikronisa_register(struct hwspecops_t *hwspecops);
 extern int msmcan_register(struct hwspecops_t *hwspecops);
-extern int virtual_register(struct hwspecops_t *hwspecops);
+extern int unican_register(struct hwspecops_t *hwspecops);
+extern int unican_pci_register(struct hwspecops_t *hwspecops);
+extern int unican_vme_register(struct hwspecops_t *hwspecops);
 
 const struct boardtype_t can_boardtypes[]={
     #ifdef CONFIG_OC_LINCAN_CARD_template
@@ -90,6 +91,15 @@ const struct boardtype_t can_boardtypes[]={
     #endif
     #ifdef CONFIG_OC_LINCAN_CARD_msmcan
        {"msmcan", msmcan_register, 1},
+    #endif
+    #ifdef CONFIG_OC_LINCAN_CARD_unican
+       {"unican", unican_register, 1},
+    #endif
+    #if defined(CONFIG_OC_LINCAN_CARD_unican)&&defined(CAN_ENABLE_PCI_SUPPORT)
+       {"unican-pci", unican_pci_register, 0},
+    #endif
+    #if defined(CONFIG_OC_LINCAN_CARD_unican)&&defined(CAN_ENABLE_VME_SUPPORT)
+       {"unican-vme", unican_vme_register, 1},
     #endif
        {NULL}
 };