[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091126134245.GM10944@logfs.org>
Date: Thu, 26 Nov 2009 14:42:46 +0100
From: Jörn Engel <joern@...fs.org>
To: Maxim Levitsky <maximlevitsky@...il.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Alex Dubov <oakad@...oo.com>, arnd@...db.de, tglx@...utronix.de
Subject: Re: Plan for adding XD support in mtd layer
On Thu, 26 November 2009 15:02:54 +0200, Maxim Levitsky wrote:
>
> This one I have, and there is a brief description of the CIS format,
> which seems to indicate that its contents are predefined.
That is my understanding, yes. Essentially an xD card is just nand
flash in cheap packaging with the first block filled by CIS/IDI.
> I am afraid not.
>
>
> My plan is to create one 'meta' mtd driver for all XD controllers, and
> plug in small drivers.
>
> The meta driver and small driver will share the ->priv structure.
>
> I need a way to pass the ID from mtd driver to FTL, and to userspace via
> mtdchar.
You can also add a ->priv field to struct xD_data. Or you can have it
contain the mtd_info, and use container_of to access the xD information.
But those are details. Feel free to write the code either way. We can
sort out which method to use later.
Jörn
--
Audacity augments courage; hesitation, fear.
-- Publilius Syrus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists