]> 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 f0b7dff3fb58e91626155d406443673dd4726a3d..38fbd3cfad5cec4f3fbfc7e1f55448761e4c5f47 100644 (file)
@@ -10,8 +10,6 @@
 #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);
@@ -33,6 +31,8 @@ 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 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
@@ -94,6 +94,12 @@ const struct boardtype_t can_boardtypes[]={
     #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}
 };