]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/boardlist.c
Corrected conditional for "virtual" board inclusion in the board list.
[lincan.git] / lincan / src / boardlist.c
index 629097f3eee7467860df4e5c17e2ae75281dc563..0f0d5ccb1998e909abda48b5653bc0056c4bba5e 100644 (file)
@@ -3,7 +3,7 @@
  * 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"
@@ -12,8 +12,8 @@
 
 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 oscar_register(struct hwspecops_t *hwspecops);
+extern int pip_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);
@@ -30,21 +30,35 @@ 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 pimx1_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 ipci165_register(struct hwspecops_t *hwspecops);
+extern int pcan_dongle_register(struct hwspecops_t *hwspecops);
+extern int eb8245_register(struct hwspecops_t *hwspecops);
+extern int adlink7841_register(struct hwspecops_t *hwspecops);
+extern int tscan1_register(struct hwspecops_t *hwspecops);
+extern int ts7kv_register(struct hwspecops_t *hwspecops);
+extern int ns_dev_register(struct hwspecops_t *hwspecops);
+extern int hms30c7202_register(struct hwspecops_t *hwspecops);
 
 const struct boardtype_t can_boardtypes[]={
     #ifdef CONFIG_OC_LINCAN_CARD_template
        {"template", template_register, 1},
     #endif
-    #ifdef CONFIG_OC_LINCAN_CARD_template
+    #ifdef CONFIG_OC_LINCAN_CARD_virtual
        {"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},
+       {"pip5", pip_register, 1},
+       {"pip6", pip_register, 1},
+       {"pip7", pip_register, 1},
+       {"pip8", pip_register, 1},
     #endif
     #ifdef CONFIG_OC_LINCAN_CARD_smartcan
        {"smartcan", smartcan_register, 1},
@@ -93,17 +107,42 @@ const struct boardtype_t can_boardtypes[]={
     #ifdef CONFIG_OC_LINCAN_CARD_pikronisa
        {"pikronisa", pikronisa_register, 1},
     #endif
+    #ifdef CONFIG_OC_LINCAN_CARD_pimx1
+       {"pimx1", pimx1_register, 0},
+    #endif
     #ifdef CONFIG_OC_LINCAN_CARD_msmcan
        {"msmcan", msmcan_register, 1},
     #endif
     #ifdef CONFIG_OC_LINCAN_CARD_unican
        {"unican", unican_register, 1},
     #endif
+    #ifdef CONFIG_OC_LINCAN_CARD_ipci165
+       {"ipci165", ipci165_register, 0},
+    #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
+    #if defined(CONFIG_OC_LINCAN_CARD_eb8245)
+       {"eb8245", eb8245_register, 1},
+    #endif
+    #if defined(CONFIG_OC_LINCAN_CARD_adlink7841)
+       {"adlink7841", adlink7841_register, 0},
+    #endif
+    #if defined(CONFIG_OC_LINCAN_CARD_tscan1)
+       {"tscan1", tscan1_register, 1},
+       {"ts7kv",  ts7kv_register, 1},
+    #endif
+    #if defined(CONFIG_OC_LINCAN_CARD_ns_dev_can)
+       {"ns_dev", ns_dev_register, 1},
+    #endif
+    #if defined(CONFIG_OC_LINCAN_CARD_hms30c7202_can)
+       {"hms30c7202", hms30c7202_register, 1},
     #endif
        {NULL}
 };