From: Artem Bityutskiy <dedekind@infradead.org>
To: Kyungmin Park <kmpark@infradead.org>
Cc: apgmoorthy <moorthy.apg@samsung.com>,
linux-mtd@lists.infradead.org,
Kyungmin Park <kyungmin.park@samsung.com>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [ANNOUNCE] [PATCH] [MTD] Flex-OneNAND MTD Driver available.
Date: Fri, 26 Sep 2008 07:51:51 +0300 [thread overview]
Message-ID: <1222404711.5012.5.camel@sauron> (raw)
In-Reply-To: <9c9fda240809251731y48272a63j988e0001dc50d78@mail.gmail.com>
On Fri, 2008-09-26 at 09:31 +0900, Kyungmin Park wrote:
> Hi,
>
> A few comments
>
> >
> > Signed-off-by: Vishak G <vishak.g@samsung.com>
> > Signed-off-by: Rohit Hagargundgi <h.rohit@samsung.com>
>
> Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
>
> > ---
> > diff -uprN a/drivers/mtd/onenand/onenand_base.c
> > b/drivers/mtd/onenand/onenand_base.c
> > --- a/drivers/mtd/onenand/onenand_base.c 2008-09-16
> > 20:48:12.000000000 +0530
> > +++ b/drivers/mtd/onenand/onenand_base.c 2008-09-24
> > 17:51:34.000000000 +0530
> > @@ -9,6 +9,10 @@
> > * auto-placement support, read-while load support, various fixes
> > * Copyright (C) Nokia Corporation, 2007
> > *
> > + * Vishak G <vishak.g@samsung.com>, Rohit Hagargundgi
> > <h.rohit@samsung.com>
> > + * Flex-OneNAND support
> > + * Copyright (C) Samsung Electronics, 2008
> > + *
> > * This program is free software; you can redistribute it and/or modify
> > * it under the terms of the GNU General Public License version 2 as
> > * published by the Free Software Foundation.
> > @@ -27,6 +31,37 @@
> >
> > #include <asm/io.h>
> >
> > +const static int boundary[] = {
> > + FLEXONENAND_DIE0_BOUNDARY,
> > + FLEXONENAND_DIE1_BOUNDARY,
> > +};
> > +
> > +const static int lock[] = {
> > + FLEXONENAND_DIE0_ISLOCKED,
> > + FLEXONENAND_DIE1_ISLOCKED,
> > +};
> > +
>
> static const as others.
>
>
> > diff -uprN a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h
> > --- a/include/mtd/mtd-abi.h 2008-09-16 20:48:12.000000000 +0530
> > +++ b/include/mtd/mtd-abi.h 2008-09-24 14:09:06.000000000 +0530
> > @@ -102,7 +102,11 @@ struct nand_oobinfo {
> > uint32_t useecc;
> > uint32_t eccbytes;
> > uint32_t oobfree[8][2];
> > +#ifdef CONFIG_MTD_ONENAND
> > + uint32_t eccpos[128];
> > +#else
> > uint32_t eccpos[32];
> > +#endif
> > };
> >
> > struct nand_oobfree {
> > @@ -117,7 +121,11 @@ struct nand_oobfree {
> > */
> > struct nand_ecclayout {
> > uint32_t eccbytes;
> > +#ifdef CONFIG_MTD_ONENAND
> > + uint32_t eccpos[128];
> > +#else
> > uint32_t eccpos[64];
> > +#endif
> > uint32_t oobavail;
> > struct nand_oobfree oobfree[MTD_MAX_OOBFREE_ENTRIES];
> > };
I do not think stuff like this is going to be accepted because you
change ABI. You should instead introduce new ioctls or add sysfs
support and expose this information via sysfs. This is much bigger
work, but it is needed.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
next prev parent reply other threads:[~2008-09-26 4:51 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-19 12:31 [ANNOUNCE] [PATCH] [MTD] Flex-OneNAND MTD Driver available AYYANARPONNUSAMY GANGHEYAMOORTHY
2008-09-22 7:11 ` Kyungmin Park
2008-09-24 12:35 ` apgmoorthy
2008-09-26 0:31 ` Kyungmin Park
2008-09-26 4:51 ` Artem Bityutskiy [this message]
2008-09-26 5:30 ` Kyungmin Park
2008-09-26 6:26 ` Artem Bityutskiy
2008-09-26 8:01 ` Amit Kumar Sharma
2008-09-26 8:19 ` Artem Bityutskiy
2008-09-29 9:28 ` apgmoorthy
2008-10-09 22:57 ` Kyungmin Park
[not found] ` <1224331498.6770.1362.camel@macbook.infradead.org>
2008-10-20 5:04 ` apgmoorthy
2008-10-20 5:54 ` Artem Bityutskiy
2008-10-22 6:43 ` apgmoorthy
2008-10-24 14:26 ` Adrian Hunter
2008-11-03 10:32 ` apgmoorthy
2008-11-05 8:52 ` Adrian Hunter
2008-11-07 14:26 ` Rohit
2008-11-10 15:20 ` Adrian Hunter
2008-11-11 3:31 ` Amit Kumar Sharma
2008-11-11 7:28 ` Adrian Hunter
2008-11-12 5:43 ` Rohit
2008-10-20 10:53 ` David Woodhouse
2008-10-21 5:22 ` apgmoorthy
2008-10-10 6:34 ` David Woodhouse
[not found] <000001c92f46$18a67c70$3dd66c6b@sisodomain.com>
2008-10-16 4:28 ` Kyungmin Park
2008-10-20 3:01 ` Kyungmin Park
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=1222404711.5012.5.camel@sauron \
--to=dedekind@infradead.org \
--cc=kmpark@infradead.org \
--cc=kyungmin.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=moorthy.apg@samsung.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