linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Gilles Pokam <pokam@cs.tu-berlin.de>
To: linux-mm@kvack.org
Subject: vremap question
Date: Thu, 12 Aug 1999 16:19:25 +0200 (MET DST)	[thread overview]
Message-ID: <199908121419.QAA16816@sphinx.cs.tu-berlin.de> (raw)

Hi,

Are there some restrictions on the use of vremap ?

I am trying to map 1MB of my PCI-device memory into kernel space. Having the base
i/o address and the span of my device memory i use the ioremap function like this:
 virt = ioremap_nocache(base_io,size);

my device memory is subdivided like this: 216kb of unused memory,216kb of prom,128kb 
register,128kb fpga and 216kb of sram. After the ioremap call, i can access the prom
region, but any attempt to read or write the sram,register or fpga region yields 0x0!

can someone tell me what is wrong ?

Thanks.

 
-- 
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/

             reply	other threads:[~1999-08-12 14:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-12 14:19 Gilles Pokam [this message]
1999-08-12 14:41 ` Benjamin C.R. LaHaise

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=199908121419.QAA16816@sphinx.cs.tu-berlin.de \
    --to=pokam@cs.tu-berlin.de \
    --cc=linux-mm@kvack.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox