]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/boardlist.c
Separated normal read and RTR assisted read transfer.
[lincan.git] / lincan / src / boardlist.c
index f0b7dff3fb58e91626155d406443673dd4726a3d..21e589ec8a280d67fc6aa7c366ac867692898da8 100644 (file)
@@ -3,17 +3,16 @@
  * Written for new CAN driver version by Pavel Pisa - OCERA team member
  * email:pisa@cmp.felk.cvut.cz
  * This software is released under the GPL-License.
- * Version lincan-0.2  9 Jul 2003
+ * Version lincan-0.3  17 Jun 2004
  */
 
 #include "../include/can.h"
 #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 oscar_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);
@@ -22,6 +21,7 @@ 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 ems_cpcpci_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);
@@ -33,6 +33,9 @@ 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);
+extern int pcan_dongle_register(struct hwspecops_t *hwspecops);
 
 const struct boardtype_t can_boardtypes[]={
     #ifdef CONFIG_OC_LINCAN_CARD_template
@@ -41,6 +44,9 @@ const struct boardtype_t can_boardtypes[]={
     #ifdef CONFIG_OC_LINCAN_CARD_template
        {"virtual", virtual_register, 0},
     #endif
+    #ifdef CONFIG_OC_LINCAN_CARD_oscar
+       {"oscar", oscar_register, 1},
+    #endif
     #ifdef CONFIG_OC_LINCAN_CARD_pip
        {"pip5", pip5_register, 1},
        {"pip6", pip6_register, 1},
@@ -74,6 +80,9 @@ const struct boardtype_t can_boardtypes[]={
        {"pcican-d", kv_pcican_register, 0},
        {"pcican-q", kv_pcican_register, 0},
     #endif
+    #if defined(CONFIG_OC_LINCAN_CARD_ems_cpcpci)&&defined(CAN_ENABLE_PCI_SUPPORT)
+       {"ems_cpcpci", ems_cpcpci_register, 0},
+    #endif
     #ifdef CONFIG_OC_LINCAN_CARD_m437
        {"m437", m437_register, 1},
     #endif
@@ -94,6 +103,15 @@ 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
+    #if defined(CONFIG_OC_LINCAN_CARD_pcan_dongle)
+       {"pcan_dongle", pcan_dongle_register, 1},
     #endif
        {NULL}
 };