From: Jan Kriz Date: Tue, 15 Jul 2008 10:19:02 +0000 (+0200) Subject: Adding usbcan file structure X-Git-Tag: CLT_COMM_CAN_usb_can1_kriz_bp~15 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/commitdiff_plain/e1ab6a4071852c3609241b84fc84eedef2fff961 Adding usbcan file structure --- 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