*** empty log message *** master
authorcharles <charles>
Wed, 17 May 2006 21:04:58 +0000 (21:04 +0000)
committercharles <charles>
Wed, 17 May 2006 21:04:58 +0000 (21:04 +0000)
WARNING-WARNING.txt [new file with mode: 0644]
direct/yaffscfg.c
linux-module/Makefile

diff --git a/WARNING-WARNING.txt b/WARNING-WARNING.txt
new file mode 100644 (file)
index 0000000..ba51cce
--- /dev/null
@@ -0,0 +1,10 @@
+The original YAFFS(1) code (the stuff in this directory) is pretty much
+obsoleted and unmaintained, although thought to be reasonably stable.
+
+You'd most likley be far better off using the YAFFS2 tree which can support
+512-byte page NAND in a backward compatability mode.
+
+YAFFS2 gets all the attention these days and very few changes are made to
+the original yaffs tree. 
+
+
index dfa1b138066f58dba70dadac794bace4099e69e7..47a6841afc84f01b55b9543111842b21bcf06254 100644 (file)
 unsigned yaffs_traceMask = 0xFFFFFFFF;
 
 
+int yaffs_errno;
+
 void yaffsfs_SetError(int err)
 {
        //Do whatever to set error
-       errno = err;
+       yaffs_errno = err;
 }
 
 void yaffsfs_Lock(void)
index dc10880bd0de480d125893757124f9be1a089a76..4b1e65ec4cf31246a8a80a2ef4c6ff98970cbe09 100644 (file)
@@ -12,7 +12,7 @@
 # it under the terms of the GNU General Public License version 2 as
 # published by the Free Software Foundation.
 #
-# $Id: Makefile,v 1.1 2004-12-23 03:15:57 charles Exp $
+# $Id: Makefile,v 1.2 2006-05-17 21:04:58 charles Exp $
 #
 
 #Makefile for manually hacking YAFFS as a module.
@@ -24,7 +24,7 @@ SYMLINKS = yaffs_fs.c yaffs_guts.c yaffs_guts.h yaffs_ecc.c yaffs_ecc.h yaffs_mt
 ## Change or override  KERNELDIR to your kernel
 ## comment out USE_xxxx if you don't want these features.
 
-KERNELDIR = /opt/2.4.27/linux-2.4.27/
+KERNELDIR = /opt/2.6.12/linux-2.6.12.2
 
 ## Change if you are using a cross-compiler
 MAKETOOLS =