]> rtime.felk.cvut.cz Git - lincan.git/commitdiff
Adding usbcan file structure
authorppisa <ppisa>
Sun, 23 Nov 2008 21:48:22 +0000 (21:48 +0000)
committerppisa <ppisa>
Sun, 23 Nov 2008 21:48:22 +0000 (21:48 +0000)
lincan/include/usbcan.h [new file with mode: 0644]
lincan/src/boardlist.c
lincan/src/usbcan.c [new file with mode: 0644]

diff --git a/lincan/include/usbcan.h b/lincan/include/usbcan.h
new file mode 100644 (file)
index 0000000..e69de29
index 86f332ed878c374fd4895d4e1eeb3633d0ee558d..d7cf342df4f9da82ac5228751decd034e17eda7f 100644 (file)
@@ -46,6 +46,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);
 extern int pcan_pci_register(struct hwspecops_t *hwspecops);
 extern int esdpci200_register(struct hwspecops_t *hwspecops);
 extern int sh7760_register(struct hwspecops_t *hwspecops);
@@ -167,6 +168,9 @@ const struct boardtype_t can_boardtypes[]={
     #endif
     #if defined(CONFIG_OC_LINCAN_CARD_pcan_pci)&&defined(CAN_ENABLE_PCI_SUPPORT)
        {"pcan_pci", pcan_pci_register, 0},
+    #endif
+    #if defined(CONFIG_OC_LINCAN_CARD_usbcan)
+       {"usbcan", usbcan_register, 0},
     #endif
        {NULL}
 };
diff --git a/lincan/src/usbcan.c b/lincan/src/usbcan.c
new file mode 100644 (file)
index 0000000..e69de29