X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/f9e1149757ece25f25d4c8a1722f1a84d57a5c13..341377103dfdc83d2d52e33d78672366db0efe93:/lincan/include/mpc5200.h diff --git a/lincan/include/mpc5200.h b/lincan/include/mpc5200.h index 23e5a86..e709699 100644 --- a/lincan/include/mpc5200.h +++ b/lincan/include/mpc5200.h @@ -41,16 +41,11 @@ * however MIDAM board uses only one controler * RYU board uses both */ -#ifdef MSCAN_MIDAM - #define NR_MSCAN 1 -#else - #define NR_MSCAN 2 -#endif /* MSCAN_MIDAM */ - - #define NR_82527 0 #define NR_SJA1000 0 -#define NR_ALL (NR_82527 + NR_SJA1000 + NR_MSCAN) +#define NR_ALL (NR_82527 + NR_SJA1000 + 2) +#define NR_ALL_MIDAM (NR_ALL - 1) + /* IRQ is read from OpenFirmware nodes */