]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/boardlist.c
Clean up: Removed fake board mpc5200_midam
[lincan.git] / lincan / src / boardlist.c
index be1f8ad5488a53a68418c3d1fc3bb07acc98523d..7623ea353bc08e04c10742dd797a824543d3cd71 100644 (file)
@@ -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 <http://dce.felk.cvut.cz>   */
@@ -78,6 +78,7 @@ 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
@@ -204,7 +205,8 @@ const struct boardtype_t can_boardtypes[]={
        {"usbcan", usbcan_register, 0},
     #endif
     #if defined(CONFIG_OC_LINCAN_CARD_mpc5200)
-       {"mpc5200", mpc5200_register, 2},
+       {"mpc5200", mpc5200_register, 0},
+       {"mpc5200_midam", mpc5200_midam_register, 0},
     #endif
        {NULL}
 };