]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/mpc5200.h
LinCAN sources go through big white-space cleanup.
[lincan.git] / lincan / include / mpc5200.h
index 23e5a86e305875b82ead6dd2f6b97948737cce25..7c343f4ac2a069274a461b41d9e1a3970bd93d7d 100644 (file)
  * 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 */
@@ -87,7 +82,7 @@
 
 int mpc5200_request_io(struct candevice_t *candev);
 int mpc5200_release_io(struct candevice_t *candev);
-int mpc5200_reset(struct candevice_t *candev); 
+int mpc5200_reset(struct candevice_t *candev);
 int mpc5200_init_hw_data(struct candevice_t *candev);
 int mpc5200_init_chip_data(struct candevice_t *candev, int chipnr);
 int mpc5200_init_obj_data(struct canchip_t *chip, int objnr);