]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/boardlist.c
MPC5200 added to build system
[lincan.git] / lincan / src / boardlist.c
index aa6fa05e451df7a67e31a528d6d3cd995665e0ca..be1f8ad5488a53a68418c3d1fc3bb07acc98523d 100644 (file)
@@ -77,6 +77,7 @@ 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);
 
 const struct boardtype_t can_boardtypes[]={
     #ifdef CONFIG_OC_LINCAN_CARD_template
@@ -202,7 +203,10 @@ 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, 2},
+    #endif
+       {NULL}
 };
 
 const struct boardtype_t* boardtype_find(const char *str)