X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yportenv.h;h=b5e043423e14277d53ae0d662c1fdf559db91c1c;hp=77c5b058391f9c745e5c811e44e9cc563c863b8c;hb=2bdf795b23c104ce3f5bd708ce8988ae1262c778;hpb=6a4a7bfdb19f0d608d85f0103f90c6bbd265bf58 diff --git a/yportenv.h b/yportenv.h index 77c5b05..b5e0434 100644 --- a/yportenv.h +++ b/yportenv.h @@ -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.6 2005-07-31 00:26:57 charles Exp $ * */ @@ -32,11 +32,12 @@ // Linux kernel -#include "linux/kernel.h" -#include "linux/version.h" -#include "linux/mm.h" -#include "linux/string.h" -#include "linux/slab.h" +#include +#include +#include +#include +#include +#include #define YCHAR char #define YUCHAR unsigned char @@ -71,7 +72,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 +148,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