X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/f419961de4a8e818c602b0642492ce76dd5bf979..341377103dfdc83d2d52e33d78672366db0efe93:/lincan/src/boardlist.c diff --git a/lincan/src/boardlist.c b/lincan/src/boardlist.c index aa6fa05..7623ea3 100644 --- a/lincan/src/boardlist.c +++ b/lincan/src/boardlist.c @@ -1,5 +1,5 @@ /**************************************************************************/ -/* File: boardslist.c - list to translate hardware option to board struct*/ +/* File: boardslist.c - list to translate hardware option to board struct */ /* */ /* LinCAN - (Not only) Linux CAN bus driver */ /* Copyright (C) 2002-2009 DCE FEE CTU Prague */ @@ -77,6 +77,8 @@ extern int pcan_pci_register(struct hwspecops_t *hwspecops); extern int esdpci200_register(struct hwspecops_t *hwspecops); extern int esdpci266_register(struct hwspecops_t *hwspecops); extern int sh7760_register(struct hwspecops_t *hwspecops); +extern int mpc5200_register(struct hwspecops_t *hwspecops); +extern int mpc5200_midam_register(struct hwspecops_t *hwspecops); const struct boardtype_t can_boardtypes[]={ #ifdef CONFIG_OC_LINCAN_CARD_template @@ -202,7 +204,11 @@ const struct boardtype_t can_boardtypes[]={ #if defined(CONFIG_OC_LINCAN_CARD_usbcan) {"usbcan", usbcan_register, 0}, #endif - {NULL} + #if defined(CONFIG_OC_LINCAN_CARD_mpc5200) + {"mpc5200", mpc5200_register, 0}, + {"mpc5200_midam", mpc5200_midam_register, 0}, + #endif + {NULL} }; const struct boardtype_t* boardtype_find(const char *str)