From 0541590b092c62f97c573aa0b305846329615e3b Mon Sep 17 00:00:00 2001 From: charles Date: Wed, 17 May 2006 21:04:58 +0000 Subject: [PATCH] *** empty log message *** --- WARNING-WARNING.txt | 10 ++++++++++ direct/yaffscfg.c | 4 +++- linux-module/Makefile | 4 ++-- 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 WARNING-WARNING.txt diff --git a/WARNING-WARNING.txt b/WARNING-WARNING.txt new file mode 100644 index 0000000..ba51cce --- /dev/null +++ b/WARNING-WARNING.txt @@ -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. + + diff --git a/direct/yaffscfg.c b/direct/yaffscfg.c index dfa1b13..47a6841 100644 --- a/direct/yaffscfg.c +++ b/direct/yaffscfg.c @@ -13,10 +13,12 @@ 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) diff --git a/linux-module/Makefile b/linux-module/Makefile index dc10880..4b1e65e 100644 --- a/linux-module/Makefile +++ b/linux-module/Makefile @@ -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 = -- 2.30.2