linux/drivers/mtd/maps
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
..
alchemy-flash.c [MTD] Make alchemy_mtd_init function static 2008-12-10 13:01:10 +00:00
amd76xrom.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
autcpu12-nvram.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
bfin-async-flash.c [MTD] [MAPS] Blackfin Async Flash Maps 2008-06-04 17:57:23 +01:00
cdb89712.c [ARM] cdb89712: avoid namespace clashes with SRAM_ and BOOTROM_ constants 2008-11-13 15:05:03 +00:00
ceiva.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
cfi_flagadm.c [MTD] Make init_flagadm function static 2008-12-10 13:01:00 +00:00
ck804xrom.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
dbox2-flash.c [MTD] Make init_dbox2_flash static 2008-12-10 13:01:02 +00:00
dc21285.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
dilnetpc.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
dmv182.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
edb7312.c [MTD] Make the init_edb7312nor function static 2008-12-10 13:00:51 +00:00
esb2rom.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
fortunet.c [MTD] Make init_fortunet function static 2008-12-10 13:01:13 +00:00
h720x-flash.c [MTD] Make h720x_mtd_init function static 2008-12-10 13:01:23 +00:00
ichxrom.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
impa7.c [MTD] Make init_impa7 static 2008-12-10 13:01:32 +00:00
integrator-flash.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
intel_vr_nor.c [MTD] map driver for NOR flash on the Intel Vermilion Range chipset 2007-09-23 18:51:25 +01:00
ipaq-flash.c [MTD] Make ipaq_mtd_init function static 2008-12-10 13:01:06 +00:00
ixp4xx.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
ixp2000.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
Kconfig [MTD] [MAPS] Maps: make uclinux mapping driver depend on MTD_RAM 2008-09-26 19:05:34 -06:00
l440gx.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
Makefile [MTD] Remove references to TI 'toto' platform. 2008-08-04 11:30:07 +01:00
map_funcs.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
mbx860.c [MTD] Make init_mbx function static 2008-12-10 13:01:20 +00:00
netsc520.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
nettel.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
octagon-5066.c [MTD] Make init_oct5066 function static 2008-12-10 13:00:56 +00:00
omap_nor.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
pci.c [MTD] [MAPS] Remove unused variable after ROM API cleanup. 2008-10-14 11:00:51 +01:00
pcmciamtd.c pcmcia: remove unused argument to pcmcia_parse_tuple() 2008-08-31 15:50:33 +02:00
physmap_of.c [MTD] remove unused mtd parameter in of_mtd_parse_partitions() 2008-10-13 15:01:42 +01:00
physmap.c [MTD] physmap: fix memory leak on physmap_flash_remove by using devres 2008-11-26 10:26:29 +00:00
plat-ram.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
pmcmsp-flash.c [MTD] Make init_msp_flash function static 2008-12-10 13:01:26 +00:00
pmcmsp-ramroot.c [MTD] Remove references to ROOT_DEV from map drivers. 2007-06-28 20:13:27 +01:00
pxa2xx-flash.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
redwood.c [MTD] Make init_redwood_flash function static 2008-12-10 13:01:29 +00:00
rpxlite.c [MTD] Make init_rpxlite function static 2008-12-10 13:00:43 +00:00
sa1100-flash.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
sbc8240.c [MTD] Make init_sbc8240_mtd function static 2008-12-10 13:00:23 +00:00
sbc_gxx.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
sc520cdp.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
scb2_flash.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
scx200_docflash.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
sharpsl-flash.c [MTD] Make init_sharpsl symbol static 2008-12-10 13:00:11 +00:00
solutionengine.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
sun_uflash.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
tqm8xxl.c [MTD] Make init_tqm_mtd function static 2008-12-10 13:00:37 +00:00
ts5500_flash.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
tsunami_flash.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
uclinux.c [MTD] Make uclinux_mtd_cleanup and uclinux_mtd_init static 2008-12-10 13:00:33 +00:00
vmax301.c [MTD] Make the function init_vmax301 static 2008-12-10 13:01:17 +00:00
wr_sbc82xx_flash.c [MTD] Make init_sbc82xx_flash function static 2008-12-10 13:00:47 +00:00