From: David Woodhouse <dwmw2@infradead.org>
To: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
Cc: Linux-MTD Mailing List <linux-mtd@lists.infradead.org>
Subject: Re: [MTD] Basic NAND driver for AMD/NatSemi CS5535/CS5536 Geode companion chip
Date: Fri, 12 May 2006 00:39:55 +0100 [thread overview]
Message-ID: <1147390796.12030.17.camel@shinybook.infradead.org> (raw)
In-Reply-To: <20060511223948.GG14232@wohnheim.fh-wedel.de>
On Fri, 2006-05-12 at 00:39 +0200, Jörn Engel wrote:
> On Thu, 11 May 2006 22:59:02 +0100, Linux-MTD Mailing List wrote:
> >
> > +static int cs553x_device_ready(struct mtd_info *mtd)
> > +{
> > + struct nand_chip *this = mtd->priv;
> > + void __iomem *mmio_base = this->IO_ADDR_R;
> > + unsigned char foo = readb(mmio_base + MM_NAND_STS);
> > +
> > + return (foo & CS_NAND_STS_FLASH_RDY) && !(foo & CS_NAND_CTLR_BUSY);
>
> Foo?
Spot the removed debugging printk :)
> Why the cast?
> Extra space.
Inherited from autcpu12.c and then in turn from spia.c I believe. I'll
clean them all up.
--
dwmw2
prev parent reply other threads:[~2006-05-11 23:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1FeJBW-0002Du-BX@pentafluge.infradead.org>
2006-05-11 22:39 ` [MTD] Basic NAND driver for AMD/NatSemi CS5535/CS5536 Geode companion chip Jörn Engel
2006-05-11 23:39 ` David Woodhouse [this message]
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=1147390796.12030.17.camel@shinybook.infradead.org \
--to=dwmw2@infradead.org \
--cc=joern@wohnheim.fh-wedel.de \
--cc=linux-mtd@lists.infradead.org \
/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