]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/boardlist.c
Included support for directly mapped SJA1000 into PCI mem region 0.
[lincan.git] / lincan / src / boardlist.c
index be1f8ad5488a53a68418c3d1fc3bb07acc98523d..8cc67a0d6d49118ecf4933eda3e8d75d503d6c3f 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>   */
@@ -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);
@@ -78,6 +79,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
@@ -145,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
@@ -204,7 +209,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}
 };