X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/9c8ab08d7e8fca3916a7f91a3c001d151989137c..3a27164c05cbec3adb7aedee5e38047afc3aa416:/lincan/src/boardlist.c?ds=sidebyside diff --git a/lincan/src/boardlist.c b/lincan/src/boardlist.c index aa6fa05..8cc67a0 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 */ @@ -57,6 +57,7 @@ extern int ssv_register(struct hwspecops_t *hwspecops); extern int bfadcan_register(struct hwspecops_t *hwspecops); extern int gensja1000mm_register(struct hwspecops_t *hwspecops); extern int gensja1000io_register(struct hwspecops_t *hwspecops); +extern int pcisja1000mm_register(struct hwspecops_t *hwspecops); extern int pimx1_register(struct hwspecops_t *hwspecops); extern int msmcan_register(struct hwspecops_t *hwspecops); extern int unican_register(struct hwspecops_t *hwspecops); @@ -77,6 +78,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 @@ -144,6 +147,9 @@ const struct boardtype_t can_boardtypes[]={ #ifdef CONFIG_OC_LINCAN_CARD_gensja1000io {"gensja1000io", gensja1000io_register, 1}, #endif + #ifdef CONFIG_OC_LINCAN_CARD_pcisja1000mm + {"pcisja1000mm", pcisja1000mm_register, 0}, + #endif #ifdef CONFIG_OC_LINCAN_CARD_pimx1 {"pimx1", pimx1_register, 0}, #endif @@ -202,7 +208,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)