From e1ab6a4071852c3609241b84fc84eedef2fff961 Mon Sep 17 00:00:00 2001 From: Jan Kriz Date: Tue, 15 Jul 2008 12:19:02 +0200 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 7c848d4..46d6063 100644 --- a/lincan/src/boardlist.c +++ b/lincan/src/boardlist.c @@ -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} }; diff --git a/lincan/src/usbcan.c b/lincan/src/usbcan.c new file mode 100644 index 0000000..e69de29 -- 2.39.2