]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/mpc5200.h
Clean up: Removed fake board mpc5200_midam
[lincan.git] / lincan / include / mpc5200.h
index 79dbc300d7e3cc204c090d5562c26c751422de46..e709699e26d259dacb6c965ab0cd0e6cd4d0881e 100644 (file)
 #ifndef LINCAN_MPC5200_H
 #define LINCAN_MPC5200_H
 
-/* Change this to distinguish between original MIDAM board and CTU daughterboard aka RYU */
-#define MSCAN_MIDAM    2
-
 
 /* MPC5200 has two CAN controlers
  * however MIDAM board uses only one controler
  * RYU board uses both
  */
-#ifdef MSCAN_MIDAM
-       #define NR_MSCAN        1
-#else
-       #ifdef MSCAN_RYU
-               #define NR_MSCAN        2
-       #else
-               #define NR_MSCAN        0
-       #endif /* MSCAN_RYU */
-#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 */