From: ppisa Date: Sun, 23 Nov 2008 21:48:22 +0000 (+0000) Subject: Adding usbcan file structure X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/commitdiff_plain/01c7fc7cdf8ffbeebacd2e6d482988fa285ef3a3?hp=5f3731f0f3ee5b9b2b7e475a01cca9411ba27415 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 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