From: Mike Rapoport <mike@compulab.co.il>
To: "Antonino A. Daplas" <adaplas@gmail.com>
Cc: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: [PATCH]: frame buffer driver for 2700G LCD controller
Date: Tue, 11 Jul 2006 12:08:40 +0200 [thread overview]
Message-ID: <44B378A8.3060906@compulab.co.il> (raw)
In-Reply-To: <44B18F68.2080802@gmail.com>
Antonino A. Daplas wrote:
>Mike Rapoport wrote:
>
>
>>Antonino A. Daplas wrote:
>>
>>
>>
>>>Mike Rapoport wrote:
>>>
>>>
>>>
>>>
>>>>This patch adds frame buffer driver for 2700G LCD controller present on
>>>>CompuLab CM-X270 computer module.
>>>>This pacth is versus current Linus git tree.
>>>>
>>>>Signed-off-by: Mike Rapoport <mike@compulab.co.il>
>>>>
>>>>
>>>>
>>>>
>>+/* extern unsigned long virt_base_2700; */
>>+#define __REG_2700G(x) (*(volatile unsigned long*)((x)+virt_base_2700))
>>
>>
>
>BTW, you will need to use generic accessors (readb|w|l, writeb|w|l or
>__raw_readb|w|l, __raw_writeb|w|l, etc). This will entail a lot of changes.
>Otherwise, this driver won't get past Andrew Morton and Rusty.
>
>See include/asm/io.h.
>
>
What's the better way?
{
...
writel((readl(REG) | bits), REG);
...
}
or
{
...
u32 some_reg = readl(REG);
...
some_reg |= bits;
...
writel(some_reg, REG)
...
}
>Tony
>
>
>
>
>
>
--
Sincerely yours,
Mike Rapoport
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
next prev parent reply other threads:[~2006-07-11 9:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-06 15:25 [PATCH]: frame buffer driver for 2700G LCD controller Mike Rapoport
2006-07-07 2:19 ` Antonino A. Daplas
2006-07-09 14:40 ` Mike Rapoport
2006-07-09 19:38 ` Geert Uytterhoeven
2006-07-09 23:21 ` Antonino A. Daplas
2006-07-11 10:08 ` Mike Rapoport [this message]
2006-07-11 9:33 ` Antonino A. Daplas
2006-07-11 12:10 ` Mike Rapoport
2006-07-11 12:53 ` Antonino A. Daplas
2006-07-11 14:14 ` Mike Rapoport
2006-07-11 13:24 ` Bernhard Fischer
2006-07-11 13:46 ` Antonino A. Daplas
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=44B378A8.3060906@compulab.co.il \
--to=mike@compulab.co.il \
--cc=adaplas@gmail.com \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/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;
as well as URLs for NNTP newsgroup(s).