public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Ashwin" <ashwinp@aftek.com>
To: <linux-mtd@lists.infradead.org>
Subject: __ioremap in physmem.c
Date: Thu, 21 Jun 2001 17:55:17 +0530	[thread overview]
Message-ID: <001101c0fa4d$3cc2a970$4f00000a@ashwin> (raw)

Hi friends,
    I am  trying to get the mtd working on the L7205 board. I am getting the
following problem.
    The __ioremap() call in physmem.c calls the function with only two
parameters but the __ioremap() in  the kernel expects 3 parmaters while only
2 are passed the third i.e flag is not sent. What should be the flag to this
call  and the significance of the flag ?

Another thing is that if I send the flag as zero the call does not return it
gives the error "bad pmd in pte_allocl_kernel".

Also what should be the macros for the functions readb,writeb,...... for
L7205 board at present I have put just printk's there or do I use the macros
in include/asm-arm/arch-linkup/io.h but they seem to be io calls  (am I
correct ?)

 Could any one please guide me ?

Thanks,
Regards,
Ashwin.

                 reply	other threads:[~2001-06-21 12:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='001101c0fa4d$3cc2a970$4f00000a@ashwin' \
    --to=ashwinp@aftek.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox