]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/boardlist.c
Added initial version of MSMCAN card support into LinCAN driver.
[lincan.git] / lincan / src / boardlist.c
index f85dcb6f1f9aa2750069db47657fc36af2551700..e452b3eb46d946824be703d66cb1ec5a0727f1b0 100644 (file)
 
 #include "supported_cards.h"
 
-#include "../include/pip.h"
-#include "../include/pccan.h"
-#include "../include/smartcan.h"
-#include "../include/pc-i03.h"
-#include "../include/pcm3680.h"
-#include "../include/m437.h"
-#include "../include/template.h"
-#include "../include/i82527.h"
-#include "../include/aim104.h"
-#include "../include/pcccan.h"
-
 extern int template_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);
 extern int smartcan_register(struct hwspecops_t *hwspecops);
 extern int pccanf_register(struct hwspecops_t *hwspecops);
 extern int pccand_register(struct hwspecops_t *hwspecops);
 extern int pccanq_register(struct hwspecops_t *hwspecops);
+extern int kv_pcican_register(struct hwspecops_t *hwspecops);
 extern int nsi_register(struct hwspecops_t *hwspecops);
 extern int cc104_register(struct hwspecops_t *hwspecops);
 extern int pci03_register(struct hwspecops_t *hwspecops);
@@ -39,6 +30,7 @@ extern int pcccan_register(struct hwspecops_t *hwspecops);
 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);
 
 const struct boardtype_t can_boardtypes[]={
@@ -76,6 +68,11 @@ const struct boardtype_t can_boardtypes[]={
        {"pccan-d", pccand_register, 2},
        {"pccan-q", pccanq_register, 4},
     #endif
+    #if defined(ENABLE_CARD_kv_pcican)&&defined(CAN_ENABLE_PCI_SUPPORT)
+       {"pcican-s", kv_pcican_register, 0},
+       {"pcican-d", kv_pcican_register, 0},
+       {"pcican-q", kv_pcican_register, 0},
+    #endif
     #ifdef ENABLE_CARD_m437
        {"m437", m437_register, 1},
     #endif
@@ -90,6 +87,9 @@ const struct boardtype_t can_boardtypes[]={
     #endif
     #ifdef ENABLE_CARD_pikronisa
        {"pikronisa", pikronisa_register, 1},
+    #endif
+    #ifdef ENABLE_CARD_msmcan
+       {"msmcan", msmcan_register, 1},
     #endif
        {NULL}
 };