From: "Ruslan V. Sushko" <rsushko@ru.mvista.com>
To: Vitaly Wool <vitalywool@gmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: patch/respin] generic nand driver for SoCs
Date: Thu, 03 May 2007 13:08:16 +0400 [thread overview]
Message-ID: <4639A680.6060507@ru.mvista.com> (raw)
In-Reply-To: <mailman.718.1178114330.2239.linux-mtd@lists.infradead.org>
>
> + data->chip.priv = &data;
> + data->mtd.priv = &data->chip;
> + data->mtd.owner = THIS_MODULE;
>
Seems it would be useful to pass the name of mtd driver (data->mtd.name)
here from platform dependent data. The name is used to created custom
mtd partitions from command line, if cmdlineprobe passed in probe list.
> +
> + data->chip.IO_ADDR_R = data->io_base;
> + data->chip.IO_ADDR_W = data->io_base;
> + data->chip.cmd_ctrl = pdata->ctrl.cmd_ctrl;
> + data->chip.dev_ready = pdata->ctrl.dev_ready;
> + data->chip.select_chip = pdata->ctrl.select_chip;
> +
>
parent reply other threads:[~2007-05-03 9:08 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <mailman.718.1178114330.2239.linux-mtd@lists.infradead.org>]
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=4639A680.6060507@ru.mvista.com \
--to=rsushko@ru.mvista.com \
--cc=linux-mtd@lists.infradead.org \
--cc=vitalywool@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.