From: Ben Hutchings <bhutchings@solarflare.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: linux-net-drivers@solarflare.com, linux-mtd@lists.infradead.org
Subject: [PATCHv2 0/7] mtd: Dynamic allocation of device numbers
Date: Tue, 12 Jan 2010 23:08:13 +0000 [thread overview]
Message-ID: <1263337693.3011.14.camel@achroite.uk.solarflarecom.com> (raw)
This patch series removes the static array of MTD device pointers from
mtdcore and replaces it with an idr structure for dynamic allocation of
device numbers. It removes MAX_MTD_DEVICES, which is now meaningless.
Patches 1-4 are unchanged from the first version.
Patch 5 was completely replaced.
Patch 6 is unchanged from the first version.
Patch 7 is new and raises the limit on block translation devices.
Ben.
Ben Hutchings (7):
mtd: Introduce and use iteration macro for reading the MTD device
table
mtd: Use get_mtd_device_nm() to find named device in get_sb_mtd()
nandsim: Define CONFIG_NANDSIM_MAX_PARTS and use it instead of
MAX_MTD_DEVICES
mtd: Remove unnecessary comparisons with MAX_MTD_DEVICES
mtdblock: Dynamically allocate cache info structures
mtd: Replace static array of devices with an idr structure
mtd: Raise limit on block device minor numbers
drivers/mtd/devices/pmc551.c | 4 +-
drivers/mtd/mtd_blkdevs.c | 12 ++--
drivers/mtd/mtdblock.c | 74 +++++++---------
drivers/mtd/mtdchar.c | 3 -
drivers/mtd/mtdcore.c | 205 +++++++++++++++++++++--------------------
drivers/mtd/mtdcore.h | 7 ++-
drivers/mtd/mtdoops.c | 5 -
drivers/mtd/mtdsuper.c | 18 ++---
drivers/mtd/nand/nandsim.c | 7 +-
include/linux/mtd/mtd.h | 1 -
10 files changed, 161 insertions(+), 175 deletions(-)
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
next reply other threads:[~2010-01-12 23:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-12 23:08 Ben Hutchings [this message]
2010-01-28 16:12 ` [PATCHv2 0/7] mtd: Dynamic allocation of device numbers Artem Bityutskiy
2010-01-28 16:20 ` Ben Hutchings
2010-01-28 23:56 ` KAMEZAWA Hiroyuki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1263337693.3011.14.camel@achroite.uk.solarflarecom.com \
--to=bhutchings@solarflare.com \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linux-net-drivers@solarflare.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox