]> rtime.felk.cvut.cz Git - can-usb1.git/blobdiff - lincan-0.3.3/src/boardlist.c
Adding usbcan file structure
[can-usb1.git] / lincan-0.3.3 / src / boardlist.c
index 7c848d4db33faf3b2ea6006879a0d0a0cd614f57..46d606309bd88feedbba69c8285eaebff99b35f5 100644 (file)
@@ -44,6 +44,7 @@ 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);
 extern int nsi_canpci_register(struct hwspecops_t *hwspecops);
+extern int usbcan_register(struct hwspecops_t *hwspecops);
 
 const struct boardtype_t can_boardtypes[]={
     #ifdef CONFIG_OC_LINCAN_CARD_template
@@ -147,6 +148,9 @@ const struct boardtype_t can_boardtypes[]={
     #endif
     #if defined(CONFIG_OC_LINCAN_CARD_nsi_canpci)&&defined(CAN_ENABLE_PCI_SUPPORT)
        {"nsicanpci", nsi_canpci_register, 1},
+    #endif
+    #if defined(CONFIG_OC_LINCAN_CARD_usbcan)
+       {"nsicanpci", usbcan_register, 0},
     #endif
        {NULL}
 };