Fix devname which was faked by always using "(unavailable)".
[yaffs2.git] / yportenv.h
index 77c5b058391f9c745e5c811e44e9cc563c863b8c..aa211e7b2a505101da29e1e78ebe4a9c0a83c194 100644 (file)
@@ -15,7 +15,7 @@
  *
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  *
- * $Id: yportenv.h,v 1.3 2004-11-16 02:36:15 charles Exp $
+ * $Id: yportenv.h,v 1.5 2004-12-17 04:39:04 charles Exp $
  *
  */
  
@@ -71,7 +71,7 @@
 #define yaffs_strcmp(a,b) strcmp(a,b)
 
 #define TENDSTR "\n"
-#define TSTR(x) KERN_DEBUG x
+#define TSTR(x) KERN_WARNING x
 #define TOUT(p) printk p
 
 
@@ -147,6 +147,8 @@ extern unsigned yaffs_traceMask;
 #define YAFFS_TRACE_BUFFERS            0x00000400
 #define YAFFS_TRACE_NANDACCESS         0x00000800
 #define YAFFS_TRACE_GC_DETAIL          0x00001000
+#define YAFFS_TRACE_SCAN_DEBUG         0x00002000
+#define YAFFS_TRACE_MTD                        0x00004000
 #define YAFFS_TRACE_ALWAYS             0x40000000
 #define YAFFS_TRACE_BUG                        0x80000000