#undef REALLY_SLOW_IO /* most systems can safely undef this */
#define CMD640_PREFETCH_MASKS 1
-#include <linux/config.h>
+//#define CMD640_DUMP_REGS
+
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/delay.h>
* Pack active and recovery counts into single byte representation
* used by controller
*/
-inline static u8 pack_nibbles (u8 upper, u8 lower)
+static inline u8 pack_nibbles (u8 upper, u8 lower)
{
return ((upper & 0x0f) << 4) | (lower & 0x0f);
}
put_cmd640_reg(0x5b, 0);
#ifdef CMD640_DUMP_REGS
- CMD640_DUMP_REGS;
+ cmd640_dump_regs();
#endif
/*
}
#ifdef CMD640_DUMP_REGS
- CMD640_DUMP_REGS;
+ cmd640_dump_regs();
#endif
return 1;
}