X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/78bcd4f474077b9c45ba5f8aad2801c93df4fde8..adb01113d2bc1a7d277898079d13490e8a48b293:/lincan/src/boardlist.c diff --git a/lincan/src/boardlist.c b/lincan/src/boardlist.c index be1f8ad..a52f2d4 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 */ @@ -204,7 +204,11 @@ 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}, + #else + #if defined(CONFIG_OC_LINCAN_CARD_mpc5200_midam) + {"mpc5200", mpc5200_register, 0}, + #endif #endif {NULL} };