]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/boardlist.c
One of many steps to support Unicontrols CAN cards.
[lincan.git] / lincan / src / boardlist.c
index 0f87484f3354bd7e8a6e39f105224086db1fee40..f0b7dff3fb58e91626155d406443673dd4726a3d 100644 (file)
@@ -13,6 +13,7 @@
 #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 +32,7 @@ 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);
 
 const struct boardtype_t can_boardtypes[]={
     #ifdef CONFIG_OC_LINCAN_CARD_template
@@ -90,6 +91,9 @@ 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
        {NULL}
 };