linux_old1/include/linux/mtd
Adrian Hunter 69423d99fc [MTD] update internal API to support 64-bit device size
MTD internal API presently uses 32-bit values to represent
device size.  This patch updates them to 64-bits but leaves
the external API unchanged.  Extending the external API
is a separate issue for several reasons.  First, no one
needs it at the moment.  Secondly, whether the implementation
is done with IOCTLs, sysfs or both is still debated.  Thirdly
external API changes require the internal API to be accepted
first.

Note that although the MTD API will be able to support 64-bit
device sizes, existing drivers do not and are not required
to do so, although NAND base has been updated.

In general, changing from 32-bit to 64-bit values cause little
or no changes to the majority of the code with the following
exceptions:
    	- printk message formats
    	- division and modulus of 64-bit values
    	- NAND base support
	- 32-bit local variables used by mtdpart and mtdconcat
	- naughtily assuming one structure maps to another
	in MEMERASE ioctl

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2008-12-10 13:37:21 +00:00
..
bbm.h [MTD] OneNAND: Error message printing and bad block scan erros 2007-02-07 12:15:01 +09:00
blktrans.h Support 'discard sectors' operation in translation layer support core 2008-10-09 08:56:01 +02:00
cfi.h [MTD] [NOR] Fix cfi_send_gen_cmd handling of x16 devices in x8 mode (v4) 2008-11-05 14:40:25 +01:00
cfi_endian.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
compatmac.h
concat.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
doc2000.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
flashchip.h [MTD] [NOR] cfi_cmdset_0001: Timeouts for erase, write and unlock operations 2008-08-06 09:44:54 +01:00
ftl.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
gen_probe.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
inftl.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
map.h Merge branch 'linux-next' of git://git.infradead.org/~dedekind/ubi-2.6 2008-07-25 10:40:14 -04:00
mtd.h [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
mtdram.h [MTD] Provide mtdram.h with mtdram_init_device() prototype 2007-11-06 08:40:24 +00:00
nand-gpio.h [MTD] [NAND] GPIO NAND flash driver 2008-10-18 12:48:42 +01:00
nand.h [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
nand_ecc.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
ndfc.h [MTD] NAND Fix platform structure and NDFC driver 2006-05-29 15:06:49 +02:00
nftl.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
onenand.h [MTD] [OneNAND] proper onenand_bbt_read_oob() prototype 2008-04-22 15:59:13 +01:00
onenand_regs.h [MTD] [OneNAND] Add defines for HF and sync write 2008-08-01 22:06:15 +01:00
partitions.h [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
physmap.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
plat-ram.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
pmc551.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
sh_flctl.h [MTD] [NAND] sh_flctl: add support for Renesas SuperH FLCTL 2008-10-14 13:33:05 +01:00
super.h [MTD] generalise the handling of MTD-specific superblocks 2007-05-11 12:14:15 +01:00
ubi.h UBI: amend commentaries 2008-07-24 13:32:56 +03:00
xip.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00