Hello, This patch adds a function add_mtd_device_full which works the same as add_mtd_device except it allows you to request a particular minor number for the new device. I wanted this because on our boards we have Flash, SRAM and BIOS all accessible via MTD, unfortunately the minor number of the SRAM and BIOS devices can change depending on how many partitions exist in the main Flash, and the BIOS minor number can additionally change depending on if the board has SRAM fitted or not etc. I would much prefer to be able to say that SRAM would always be mtd14 and BIOS would be mtd15. It is also possible (and I have done this :-( ) that when booting from a HDD or CDROM you modprobe the BIOS mapping module before the Flash mapping module and happily overwrite the BIOS (on mtd0) thinking it is the boot partition on the flash (which is normally mtd0). What are the chances of this being rolled into the main MTD distribution? I've also attached mtd.ram.erase.patch which I sent ages ago which is needed to mount JFFS2 on an SRAM (map_ram) device. Ian. -- Ian Campbell Design Engineer Arcom Control Systems Ltd, Clifton Road, Cambridge CB1 7EA United Kingdom Tel: +44 (0)1223 403465 E-Mail: icampbell@arcom.com Web: http://www.arcom.com ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________