From: wookey Date: Wed, 14 Feb 2007 01:09:06 +0000 (+0000) Subject: Updated headers so they really are the same X-Git-Tag: pre-name-change~316 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=e1ac494e05a5dc7ab61d799af815d103a11d318c Updated headers so they really are the same --- diff --git a/direct/dtest.c b/direct/dtest.c index 66b8db1..b9391b8 100644 --- a/direct/dtest.c +++ b/direct/dtest.c @@ -9,7 +9,6 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ /* diff --git a/direct/yaffs_fileem.c b/direct/yaffs_fileem.c index 98af7ee..30128d9 100644 --- a/direct/yaffs_fileem.c +++ b/direct/yaffs_fileem.c @@ -9,7 +9,6 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ /* @@ -17,7 +16,7 @@ * This is only intended as test code to test persistence etc. */ -const char *yaffs_flashif_c_version = "$Id: yaffs_fileem.c,v 1.2 2007-02-12 16:49:50 wookey Exp $"; +const char *yaffs_flashif_c_version = "$Id: yaffs_fileem.c,v 1.3 2007-02-14 01:09:06 wookey Exp $"; #include "yportenv.h" diff --git a/direct/yaffs_fileem2k.c b/direct/yaffs_fileem2k.c index 934d90d..1e2cd6b 100644 --- a/direct/yaffs_fileem2k.c +++ b/direct/yaffs_fileem2k.c @@ -9,7 +9,6 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ /* @@ -17,7 +16,7 @@ * This is only intended as test code to test persistence etc. */ -const char *yaffs_flashif_c_version = "$Id: yaffs_fileem2k.c,v 1.11 2007-02-12 16:49:50 wookey Exp $"; +const char *yaffs_flashif_c_version = "$Id: yaffs_fileem2k.c,v 1.12 2007-02-14 01:09:06 wookey Exp $"; #include "yportenv.h" diff --git a/direct/yaffs_flashif.c b/direct/yaffs_flashif.c index 5da0670..cea57e9 100644 --- a/direct/yaffs_flashif.c +++ b/direct/yaffs_flashif.c @@ -9,11 +9,10 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ -const char *yaffs_flashif_c_version = "$Id: yaffs_flashif.c,v 1.2 2007-02-12 16:49:50 wookey Exp $"; +const char *yaffs_flashif_c_version = "$Id: yaffs_flashif.c,v 1.3 2007-02-14 01:09:06 wookey Exp $"; #include "yportenv.h" diff --git a/direct/yaffs_ramdisk.c b/direct/yaffs_ramdisk.c index bcb44f8..3cf054a 100644 --- a/direct/yaffs_ramdisk.c +++ b/direct/yaffs_ramdisk.c @@ -9,7 +9,6 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ /* @@ -19,7 +18,7 @@ * Use this with dev->useNANDECC enabled, then ECC overheads are not required. */ -const char *yaffs_ramdisk_c_version = "$Id: yaffs_ramdisk.c,v 1.3 2007-02-12 16:49:50 wookey Exp $"; +const char *yaffs_ramdisk_c_version = "$Id: yaffs_ramdisk.c,v 1.4 2007-02-14 01:09:06 wookey Exp $"; #include "yportenv.h" diff --git a/direct/yaffs_ramem2k.c b/direct/yaffs_ramem2k.c index 96fae0b..c01bc97 100644 --- a/direct/yaffs_ramem2k.c +++ b/direct/yaffs_ramem2k.c @@ -9,7 +9,6 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ /* @@ -17,7 +16,7 @@ */ -const char *yaffs_ramem2k_c_version = "$Id: yaffs_ramem2k.c,v 1.2 2007-02-12 16:49:50 wookey Exp $"; +const char *yaffs_ramem2k_c_version = "$Id: yaffs_ramem2k.c,v 1.3 2007-02-14 01:09:06 wookey Exp $"; #ifndef __KERNEL__ #define CONFIG_YAFFS_RAM_ENABLED diff --git a/direct/yaffscfg.c b/direct/yaffscfg.c index 93bb193..380a727 100644 --- a/direct/yaffscfg.c +++ b/direct/yaffscfg.c @@ -9,7 +9,6 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ /* diff --git a/direct/yaffscfg2k.c b/direct/yaffscfg2k.c index abc6a21..9ca4aea 100644 --- a/direct/yaffscfg2k.c +++ b/direct/yaffscfg2k.c @@ -9,7 +9,6 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ /* diff --git a/direct/yaffsfs.c b/direct/yaffsfs.c index bd94a89..9004685 100644 --- a/direct/yaffsfs.c +++ b/direct/yaffsfs.c @@ -9,7 +9,6 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ #include "yaffsfs.h" @@ -25,7 +24,7 @@ #endif -const char *yaffsfs_c_version="$Id: yaffsfs.c,v 1.16 2007-02-12 16:49:50 wookey Exp $"; +const char *yaffsfs_c_version="$Id: yaffsfs.c,v 1.17 2007-02-14 01:09:06 wookey Exp $"; // configurationList is the list of devices that are supported static yaffsfs_DeviceConfiguration *yaffsfs_configurationList; diff --git a/mtdemul/nandemul2k.c b/mtdemul/nandemul2k.c index 6f10746..4d25aaa 100644 --- a/mtdemul/nandemul2k.c +++ b/mtdemul/nandemul2k.c @@ -1,7 +1,7 @@ /* - * YAFFS: Yet another FFS. A NAND-flash specific file system. + * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. * - * Copyright (C) 2002 Aleph One Ltd. + * Copyright (C) 2002-2007 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning @@ -9,8 +9,9 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * - * + */ + +/* * This version hacked for emulating 2kpage NAND for YAFFS2 testing. */ diff --git a/utils/mkyaffs2image.c b/utils/mkyaffs2image.c index 31d4190..9939658 100644 --- a/utils/mkyaffs2image.c +++ b/utils/mkyaffs2image.c @@ -12,7 +12,6 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ /* @@ -43,7 +42,7 @@ unsigned yaffs_traceMask=0; #define chunkSize 2048 #define spareSize 64 -const char * mkyaffsimage_c_version = "$Id: mkyaffs2image.c,v 1.3 2007-02-12 16:55:27 wookey Exp $"; +const char * mkyaffsimage_c_version = "$Id: mkyaffs2image.c,v 1.4 2007-02-14 01:09:06 wookey Exp $"; typedef struct diff --git a/utils/mkyaffsimage.c b/utils/mkyaffsimage.c index e4c8fc6..2b8dc1e 100644 --- a/utils/mkyaffsimage.c +++ b/utils/mkyaffsimage.c @@ -11,7 +11,6 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ /* diff --git a/yaffs_checkptrw.c b/yaffs_checkptrw.c index 0e6f7e1..2f658e6 100644 --- a/yaffs_checkptrw.c +++ b/yaffs_checkptrw.c @@ -9,11 +9,10 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ const char *yaffs_checkptrw_c_version = - "$Id: yaffs_checkptrw.c,v 1.12 2007-02-12 16:55:25 wookey Exp $"; + "$Id: yaffs_checkptrw.c,v 1.13 2007-02-14 01:09:06 wookey Exp $"; #include "yaffs_checkptrw.h" diff --git a/yaffs_ecc.c b/yaffs_ecc.c index 2eb69ba..be860d0 100644 --- a/yaffs_ecc.c +++ b/yaffs_ecc.c @@ -9,18 +9,17 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ - /* - * This code implements the ECC algorithm used in SmartMedia. - * - * The ECC comprises 22 bits of parity information and is stuffed into 3 bytes. - * The two unused bit are set to 1. - * The ECC can correct single bit errors in a 256-byte page of data. Thus, two such ECC - * blocks are used on a 512-byte NAND page. - * - */ +/* + * This code implements the ECC algorithm used in SmartMedia. + * + * The ECC comprises 22 bits of parity information and is stuffed into 3 bytes. + * The two unused bit are set to 1. + * The ECC can correct single bit errors in a 256-byte page of data. Thus, two such ECC + * blocks are used on a 512-byte NAND page. + * + */ /* Table generated by gen-ecc.c * Using a table means we do not have to calculate p1..p4 and p1'..p4' @@ -30,7 +29,7 @@ */ const char *yaffs_ecc_c_version = - "$Id: yaffs_ecc.c,v 1.8 2007-02-12 16:55:25 wookey Exp $"; + "$Id: yaffs_ecc.c,v 1.9 2007-02-14 01:09:06 wookey Exp $"; #include "yportenv.h" diff --git a/yaffs_fs.c b/yaffs_fs.c index 57a8c10..5048442 100644 --- a/yaffs_fs.c +++ b/yaffs_fs.c @@ -16,7 +16,6 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ /* @@ -33,7 +32,7 @@ */ const char *yaffs_fs_c_version = - "$Id: yaffs_fs.c,v 1.57 2007-02-12 16:55:25 wookey Exp $"; + "$Id: yaffs_fs.c,v 1.58 2007-02-14 01:09:06 wookey Exp $"; extern const char *yaffs_guts_c_version; #include diff --git a/yaffs_guts.c b/yaffs_guts.c index ab22c85..dc435b2 100644 --- a/yaffs_guts.c +++ b/yaffs_guts.c @@ -9,11 +9,10 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ const char *yaffs_guts_c_version = - "$Id: yaffs_guts.c,v 1.46 2007-02-12 16:55:26 wookey Exp $"; + "$Id: yaffs_guts.c,v 1.47 2007-02-14 01:09:06 wookey Exp $"; #include "yportenv.h" diff --git a/yaffs_mtdif.c b/yaffs_mtdif.c index 582563a..6e2a9de 100644 --- a/yaffs_mtdif.c +++ b/yaffs_mtdif.c @@ -9,11 +9,10 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ const char *yaffs_mtdif_c_version = - "$Id: yaffs_mtdif.c,v 1.18 2007-02-12 16:55:26 wookey Exp $"; + "$Id: yaffs_mtdif.c,v 1.19 2007-02-14 01:09:06 wookey Exp $"; #include "yportenv.h" diff --git a/yaffs_mtdif2.c b/yaffs_mtdif2.c index 7985f1e..d927c76 100644 --- a/yaffs_mtdif2.c +++ b/yaffs_mtdif2.c @@ -9,13 +9,12 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ /* mtd interface for YAFFS2 */ const char *yaffs_mtdif2_c_version = - "$Id: yaffs_mtdif2.c,v 1.16 2007-02-12 16:55:26 wookey Exp $"; + "$Id: yaffs_mtdif2.c,v 1.17 2007-02-14 01:09:06 wookey Exp $"; #include "yportenv.h" diff --git a/yaffs_nand.c b/yaffs_nand.c index b919da0..c33483c 100644 --- a/yaffs_nand.c +++ b/yaffs_nand.c @@ -9,11 +9,10 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ const char *yaffs_nand_c_version = - "$Id: yaffs_nand.c,v 1.6 2007-02-12 16:55:26 wookey Exp $"; + "$Id: yaffs_nand.c,v 1.7 2007-02-14 01:09:06 wookey Exp $"; #include "yaffs_nand.h" #include "yaffs_tagscompat.h" diff --git a/yaffs_packedtags1.c b/yaffs_packedtags1.c index 43f5873..f480bf1 100644 --- a/yaffs_packedtags1.c +++ b/yaffs_packedtags1.c @@ -9,7 +9,6 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ #include "yaffs_packedtags1.h" diff --git a/yaffs_packedtags2.c b/yaffs_packedtags2.c index 624f8ac..6860876 100644 --- a/yaffs_packedtags2.c +++ b/yaffs_packedtags2.c @@ -9,7 +9,6 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ #include "yaffs_packedtags2.h" diff --git a/yaffs_tagscompat.c b/yaffs_tagscompat.c index 7f8442c..d594d61 100644 --- a/yaffs_tagscompat.c +++ b/yaffs_tagscompat.c @@ -9,7 +9,6 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ #include "yaffs_guts.h" diff --git a/yaffs_tagsvalidity.c b/yaffs_tagsvalidity.c index c2ab2b0..9e0bd1c 100644 --- a/yaffs_tagsvalidity.c +++ b/yaffs_tagsvalidity.c @@ -9,7 +9,6 @@ * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * */ #include "yaffs_tagsvalidity.h"