]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/boardlist.c
Added support for KVASER PCICAN-S/D/Q cards.
[lincan.git] / lincan / src / boardlist.c
index 569aab29ea0ab014ba9e2450de6891c1c1df8541..342c4e6426ffeb6816da4a1365c41335d5e746b0 100644 (file)
@@ -6,12 +6,11 @@
  * Version lincan-0.2  9 Jul 2003
  */
 
-#include <linux/autoconf.h>
-#include <linux/version.h>
-
+#include "../include/can.h"
+#include "../include/can_sysdep.h"
 #include "../include/main.h"
 
-#include ".supported_cards.h"
+#include "supported_cards.h"
 
 #include "../include/pip.h"
 #include "../include/pccan.h"
@@ -31,6 +30,7 @@ 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);
@@ -77,6 +77,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