linux/drivers/mtd
Artem Bityutskiy d1f3dd6cc0 UBI: fix mtd device string parsing
UBI allows to specify MTD device name or number when the module is being
loaded. When parsing MTD device identity string, it first tries to treat
it as device NAME, and if that fails, it treats it as device number.

Make it vice-versa as this is more logical and makes less troubles when
you have an MTD device named "1" and try to load mtd1 which has different
name. This is especially easy to hit when gluebi is enabled.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2007-12-26 19:15:17 +02:00
..
chips [MTD] [NOR] Attempt to clean up the JEDEC unlock address confusion 2007-12-03 13:01:21 +00:00
devices [MTD] mtd_dataflash: Incorrect compare-after-write check 2007-11-28 11:55:32 +00:00
maps [MTD] fix CONFIG_MTD_SHARP_SL if CONFIG_MTD=m 2007-11-28 11:56:19 +00:00
nand [MTD] [NAND] Marvell Orion device bus NAND controller 2007-12-03 13:03:46 +00:00
onenand [MTD] [OneNAND] Do not stop reading for ECC errors 2007-11-26 13:16:29 +00:00
ubi UBI: fix mtd device string parsing 2007-12-26 19:15:17 +02:00
afs.c
cmdlinepart.c
ftl.c
inftlcore.c
inftlmount.c
Kconfig [MTD] mtdoops: Document usage in Kconfig 2007-12-03 14:00:06 +00:00
Makefile
mtd_blkdevs.c [MTD] Always initialise mutex in new mtd_blktrans_dev. 2007-12-03 12:46:12 +00:00
mtdblock_ro.c
mtdblock.c
mtdchar.c
mtdconcat.c
mtdcore.c
mtdcore.h
mtdoops.c [MTD] mtdoops cleanup 2007-12-03 14:00:16 +00:00
mtdpart.c
mtdsuper.c
nftlcore.c
nftlmount.c
redboot.c [MTD] Skip bad blocks when checking for RedBoot partition table 2007-10-28 21:57:02 -04:00
rfd_ftl.c
ssfdc.c