From: "M8 (Servaes Joordens)" <Servaes.Joordens@m8.nl>
To: David Woodhouse <dwmw2@infradead.org>
Cc: mtd-forum <linux-mtd@lists.infradead.org>
Subject: Re: address lines
Date: Sat, 03 Nov 2007 14:30:02 +0100 [thread overview]
Message-ID: <472C77DA.5060708@m8.nl> (raw)
In-Reply-To: <1194092966.9405.51.camel@pmac.infradead.org>
David Woodhouse wrote:
> On Sat, 2007-11-03 at 13:27 +0100, M8 (Servaes Joordens) wrote:
>
>> How do I enable my own driver file based on sbc_gxx.c? I cannot find
>> an configuration option in the kernel by menuconfig.
>>
>
> Copy sbc_gxx.c to create your own driver. Copy the configuration option
> in drivers/mtd/maps/Kconfig too, renaming it appropriately and giving it
> appropriate dependencies. Add an appropriate line in
> drivers/mtd/maps/Makefile, using your new config option and your new
> filename.
>
>
Ok, I did it. Can you tell me the meaning of the calls to ioremap and
request_region?
I used the following defines:
#define WINDOW_START 0x20000000
#define WINDOW_SHIFT 20
I do not know what to do with:
#define PAGE_IO 258
#define DEVICE_ENABLE 0x8000
--
Servaes Joordens
-------------------------------------------
M8
Tappersweg 29
2031ET Haarlem
The Netherlands
Tel: +31 23 5311122
Mob: +31 6 51183379
Fax: +31 23 5322388
VAT-ID: nl-813029090B01
kvk: 34131430 Haarlem
next prev parent reply other threads:[~2007-11-03 13:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-03 10:54 address lines M8 (Servaes Joordens)
2007-11-03 11:46 ` David Woodhouse
2007-11-03 12:07 ` M8 (Servaes Joordens)
2007-11-03 12:13 ` David Woodhouse
2007-11-03 12:27 ` M8 (Servaes Joordens)
2007-11-03 12:29 ` David Woodhouse
2007-11-03 13:30 ` M8 (Servaes Joordens) [this message]
2007-11-03 14:35 ` M8 (Servaes Joordens)
2007-11-04 9:30 ` M8 (Servaes Joordens)
2007-11-04 11:23 ` David Woodhouse
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=472C77DA.5060708@m8.nl \
--to=servaes.joordens@m8.nl \
--cc=dwmw2@infradead.org \
--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.