From: Amit Shah <amitshah@gmx.net>
To: linux-mtd@lists.infradead.org
Subject: Re: Accessing flash on a PCI card
Date: Wed, 07 Jul 2004 21:39:08 +0530 [thread overview]
Message-ID: <cch7b6$i3g$1@sea.gmane.org> (raw)
In-Reply-To: 1089175560.27262.13.camel@thomas.tec.linutronix.de
Thomas Gleixner wrote:
> On Tue, 2004-07-06 at 12:26, Amit Shah wrote:
>> I have a PCI card that has Intel Flash. I've cooked up a small driver
>> (the host kernel is 2.6.6) that iomaps the base address exported by the
>> PCI BARs and can verify that it's an intel flash by doing some config-
>> write and read sequences.
>>
>> I now want to export the flash to userspace for reading / writing to the
>> flash. I guess it would be better to let MTD handle the stuff than me
>> doing things all over again. So, how can I access that flash memory over
>> the PCI with MTD?
>
> Look at
> drivers/mtd/maps/pci.c and other files using PCI in the same folder
Thanks, Thomas!
--
Amit Shah
http://amitshah.nav.to/
prev parent reply other threads:[~2004-07-07 16:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-06 10:26 Accessing flash on a PCI card Amit Shah
2004-07-07 4:46 ` Thomas Gleixner
2004-07-07 16:09 ` Amit Shah [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='cch7b6$i3g$1@sea.gmane.org' \
--to=amitshah@gmx.net \
--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 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.