All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amit Shah <amitshah@gmx.net>
To: linux-mtd@lists.infradead.org
Subject: Accessing flash on a PCI card
Date: Tue, 06 Jul 2004 15:56:45 +0530	[thread overview]
Message-ID: <ccdut4$do6$2@sea.gmane.org> (raw)

Hi all,

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?

Thanks for any hints,
Amit.
-- 
Amit Shah
http://amitshah.nav.to/

             reply	other threads:[~2004-07-06 17:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-06 10:26 Amit Shah [this message]
2004-07-07  4:46 ` Accessing flash on a PCI card Thomas Gleixner
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='ccdut4$do6$2@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.