linux/drivers/mtd
Joern Engel 954c242273 mtd: improve parameter parsing for block2mtd
Expand the parameter parsing for block2mtd.  It now accepts:
Ki, Mi, Gi	- the official prefixes for binary multiples,
		  see http://physics.nist.gov/cuu/Units/binary.html,
ki		- mistake on my side and analog to "k" for decimal multiples,
KiB, MiB, GiB	- for people that prefer to add a "B" for byte,
kiB		- combination of the above.

There were complaints about not accepting "k" for 1024.  This has long
been common practice, but is known to lead to confusion.  Hence the new
SI units and hence block2mtd only accepts units that cannot be confused
with decimal units.  Diverging from common practice doesn't always please
people, even if the change is for the better.

Signed-off-by: Joern Engel <joern@wohnheim.fh-wedel.de>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
2006-04-19 09:10:06 +01:00
..
chips Remove unchecked MTD flags 2006-04-17 15:48:17 +01:00
devices mtd: improve parameter parsing for block2mtd 2006-04-19 09:10:06 +01:00
maps [PATCH] mtd, nettel: fix build error and implicit declaration 2006-04-11 19:42:44 -04:00
nand MTD: Correct Poodle partition size 2006-04-18 02:04:18 +01:00
onenand [PATCH] fix more missing includes 2006-01-08 20:13:45 -08:00
afs.c [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
cmdlinepart.c [PATCH] mtd cmdlinepart: allow zero offset value 2006-03-31 12:18:48 -08:00
ftl.c [MTD] Make functions static, include header files with prototypes 2005-11-29 19:54:58 +01:00
inftlcore.c [PATCH] Fix debug statement in inftlcore.c 2006-03-31 12:18:48 -08:00
inftlmount.c Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6 2005-11-07 10:24:08 -08:00
Kconfig [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
Makefile [MTD] Add initial support for OneNAND flash chips 2005-11-06 21:17:24 +01:00
mtd_blkdevs.c [PATCH] sem2mutex: drivers/mtd/ 2006-03-31 12:18:48 -08:00
mtdblock_ro.c Make mtdblock_ro unconditionally readonly 2006-04-17 15:48:16 +01:00
mtdblock.c Simplify test for RAM devices 2006-04-17 15:48:16 +01:00
mtdchar.c [PATCH] Remove unnecessary kmalloc/kfree calls in mtdchar 2006-04-17 17:38:15 +01:00
mtdconcat.c BUG_ON() Conversion in drivers/mtd/ 2006-03-26 18:15:12 +02:00
mtdcore.c [PATCH] Kill ifdefs in mtdcore.c 2006-03-31 12:18:49 -08:00
mtdpart.c [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
nftlcore.c Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6 2005-11-07 10:24:08 -08:00
nftlmount.c [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
redboot.c [PATCH] mtd/redboot: Handle holes in fis table 2006-03-31 12:18:49 -08:00
rfd_ftl.c [PATCH] fix more missing includes 2006-01-08 20:13:45 -08:00