From: Todd Poynor <tpoynor@mvista.com>
To: "Timofei V. Bondarenko" <timm@ipi.ac.ru>
Cc: linux-mtd@lists.infradead.org
Subject: Re: nand locking
Date: Fri, 29 Apr 2005 15:19:28 -0700 [thread overview]
Message-ID: <4272B2F0.3090803@mvista.com> (raw)
In-Reply-To: <427089FF.4020704@ipi.ac.ru>
Timofei V. Bondarenko wrote:
> Todd Poynor wrote:
...
>> I tried adding a callback to the chip driver at each device/partition
>> add...
>
>
> Do you mean 'mtd_info::notify_add' ?
Yes.
> I've mentioned the 'mtd_partition::mtdp' - it could be an alternative
> (a bit complicated though). The register_mtd_user() also may help...
I originally tried the register_mtd_user() route, but in the case of
partitions it is passed the "slave" struct mtd_info, while only the
"master" whole-device struct has been filled in with chip-driver-private
info (and only mtdpart.c knows how to map the slave back to the master),
so that would need some ugly tweaks as well...
--
Todd
prev parent reply other threads:[~2005-04-29 22:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-27 7:34 nand locking Timofei V. Bondarenko
2005-04-27 9:00 ` Thomas Gleixner
2005-04-27 9:09 ` Timofei V. Bondarenko
2005-04-27 10:45 ` Thomas Gleixner
2005-04-27 10:27 ` Timofei V. Bondarenko
2005-04-27 10:32 ` Artem B. Bityuckiy
2005-04-27 11:35 ` Thomas Gleixner
2005-04-27 11:19 ` Timofei V. Bondarenko
2005-04-27 18:27 ` Todd Poynor
2005-04-28 7:00 ` Timofei V. Bondarenko
2005-04-29 22:19 ` Todd Poynor [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=4272B2F0.3090803@mvista.com \
--to=tpoynor@mvista.com \
--cc=linux-mtd@lists.infradead.org \
--cc=timm@ipi.ac.ru \
/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