X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/8efef967ff91e6d5b92426ffb091842d4e54145d..b3a9dbb9242e4de75a60e4fefe8ef4e8702ecb21:/lincan/src/boardlist.c diff --git a/lincan/src/boardlist.c b/lincan/src/boardlist.c index 0f87484..38fbd3c 100644 --- a/lincan/src/boardlist.c +++ b/lincan/src/boardlist.c @@ -10,9 +10,8 @@ #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 pip5_register(struct hwspecops_t *hwspecops); extern int pip6_register(struct hwspecops_t *hwspecops); extern int m437_register(struct hwspecops_t *hwspecops); @@ -31,7 +30,9 @@ 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); +extern int unican_pci_register(struct hwspecops_t *hwspecops); +extern int unican_vme_register(struct hwspecops_t *hwspecops); const struct boardtype_t can_boardtypes[]={ #ifdef CONFIG_OC_LINCAN_CARD_template @@ -90,6 +91,15 @@ 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 + #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 {NULL} };