X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/1fd6ebf194739bee96aa5696cdd24622ef658130..b3a9dbb9242e4de75a60e4fefe8ef4e8702ecb21:/lincan/src/boardlist.c diff --git a/lincan/src/boardlist.c b/lincan/src/boardlist.c index f0b7dff..38fbd3c 100644 --- a/lincan/src/boardlist.c +++ b/lincan/src/boardlist.c @@ -10,8 +10,6 @@ #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); @@ -33,6 +31,8 @@ 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); const struct boardtype_t can_boardtypes[]={ #ifdef CONFIG_OC_LINCAN_CARD_template @@ -94,6 +94,12 @@ 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 {NULL} };