From: Thomas Gleixner <tglx@linutronix.de>
To: Amit Shah <amitshah@gmx.net>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Accessing flash on a PCI card
Date: Wed, 07 Jul 2004 06:46:01 +0200 [thread overview]
Message-ID: <1089175560.27262.13.camel@thomas.tec.linutronix.de> (raw)
In-Reply-To: <ccdut4$do6$2@sea.gmane.org>
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
Thomas
next prev parent reply other threads:[~2004-07-07 4:52 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 [this message]
2004-07-07 16:09 ` Amit Shah
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=1089175560.27262.13.camel@thomas.tec.linutronix.de \
--to=tglx@linutronix.de \
--cc=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.