diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-10-30 14:58:17 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-10-30 14:58:17 +0000 |
commit | e3f12313fe8c3d3a422c7a3352b73b9d52df866d (patch) | |
tree | 825ff262860bdf4939b271f13d9b72542af61501 /target/linux/generic/files/fs/yaffs2/yaffs_tagscompat.h | |
parent | 029a10f4cb5ae60cd0a649d750182ec8b7bbb84f (diff) | |
download | upstream-e3f12313fe8c3d3a422c7a3352b73b9d52df866d.tar.gz upstream-e3f12313fe8c3d3a422c7a3352b73b9d52df866d.tar.bz2 upstream-e3f12313fe8c3d3a422c7a3352b73b9d52df866d.zip |
generic: fold yaffs_git_2010_10_20 patch to generic/files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34013 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/fs/yaffs2/yaffs_tagscompat.h')
-rw-r--r-- | target/linux/generic/files/fs/yaffs2/yaffs_tagscompat.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/target/linux/generic/files/fs/yaffs2/yaffs_tagscompat.h b/target/linux/generic/files/fs/yaffs2/yaffs_tagscompat.h index 6f95119e0a..889bf5f4b7 100644 --- a/target/linux/generic/files/fs/yaffs2/yaffs_tagscompat.h +++ b/target/linux/generic/files/fs/yaffs2/yaffs_tagscompat.h @@ -1,7 +1,7 @@ /* * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * - * Copyright (C) 2002-2007 Aleph One Ltd. + * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning <charles@aleph1.co.uk> @@ -17,23 +17,23 @@ #define __YAFFS_TAGSCOMPAT_H__ #include "yaffs_guts.h" -int yaffs_TagsCompatabilityWriteChunkWithTagsToNAND(yaffs_Device *dev, - int chunkInNAND, +int yaffs_tags_compat_wr(yaffs_dev_t *dev, + int nand_chunk, const __u8 *data, - const yaffs_ExtendedTags *tags); -int yaffs_TagsCompatabilityReadChunkWithTagsFromNAND(yaffs_Device *dev, - int chunkInNAND, + const yaffs_ext_tags *tags); +int yaffs_tags_compat_rd(yaffs_dev_t *dev, + int nand_chunk, __u8 *data, - yaffs_ExtendedTags *tags); -int yaffs_TagsCompatabilityMarkNANDBlockBad(struct yaffs_DeviceStruct *dev, - int blockNo); -int yaffs_TagsCompatabilityQueryNANDBlock(struct yaffs_DeviceStruct *dev, - int blockNo, - yaffs_BlockState *state, - __u32 *sequenceNumber); + yaffs_ext_tags *tags); +int yaffs_tags_compat_mark_bad(struct yaffs_dev_s *dev, + int block_no); +int yaffs_tags_compat_query_block(struct yaffs_dev_s *dev, + int block_no, + yaffs_block_state_t *state, + __u32 *seq_number); -void yaffs_CalcTagsECC(yaffs_Tags *tags); -int yaffs_CheckECCOnTags(yaffs_Tags *tags); -int yaffs_CountBits(__u8 byte); +void yaffs_calc_tags_ecc(yaffs_tags_t *tags); +int yaffs_check_tags_ecc(yaffs_tags_t *tags); +int yaffs_count_bits(__u8 byte); #endif |