pc_i03 pcm3680 aim104 m437 pcccan ssv bfadcan gensja1000io gensja1000mm eb8245 \
kv_pcican msmcan oscar adlink7841 pcan_pci esdpci200 unican virtual template
-lincan_morecards_NAMES = esdpci266 hms30c7202_can ns_dev_can ipci165 pimx1 tscan1 ts7kv nsi_canpci sh7760
+lincan_morecards_NAMES = esdpci266 hms30c7202_can ns_dev_can ipci165 pimx1 tscan1 ts7kv nsi_canpci sh7760 mpc5200
default_CONFIG = CONFIG_OC_LINCAN=y CONFIG_OC_LINCANRTL=n CONFIG_OC_LINCANVME=n
default_CONFIG += CONFIG_OC_LINCAN_PORTIO_ONLY=n CONFIG_OC_LINCAN_MEMIO_ONLY=n
lincan_cards_SOURCES += c_can.c c_can_irq.c
endif
+ifeq ($(CONFIG_OC_LINCAN_CARD_mpc5200),y)
+lincan_cards_SOURCES += mscan.c
+endif
+
ifneq ($(CONFIG_OC_LINCANRTL),y)
kernel_MODULES = lincan
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
#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)