From 01c7fc7cdf8ffbeebacd2e6d482988fa285ef3a3 Mon Sep 17 00:00:00 2001 From: ppisa Date: Sun, 23 Nov 2008 21:48:22 +0000 Subject: [PATCH] Adding usbcan file structure --- lincan/include/usbcan.h | 0 lincan/src/boardlist.c | 4 ++++ lincan/src/usbcan.c | 0 3 files changed, 4 insertions(+) create mode 100644 lincan/include/usbcan.h create mode 100644 lincan/src/usbcan.c diff --git a/lincan/include/usbcan.h b/lincan/include/usbcan.h new file mode 100644 index 0000000..e69de29 diff --git a/lincan/src/boardlist.c b/lincan/src/boardlist.c index 86f332e..d7cf342 100644 --- a/lincan/src/boardlist.c +++ b/lincan/src/boardlist.c @@ -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 index 0000000..e69de29 -- 2.39.2