[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1259271532.24156.2.camel@maxim-laptop>
Date: Thu, 26 Nov 2009 23:38:52 +0200
From: Maxim Levitsky <maximlevitsky@...il.com>
To: Jörn Engel <joern@...fs.org>
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, 2009-11-26 at 14:42 +0100, Jörn Engel wrote:
> 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.
Thanks, no more questions, I will publish code as soon as I write one.
Best regards,
Maxim Levitsky
>
> Jörn
>
--
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