From: Helge Deller <deller@gmx.de>
To: Andreas Seltenreich <s_selten@informatik.uni-karlsruhe.de>,
parisc-linux@lists.parisc-linux.org
Cc: Petr Vandrovec <vandrove@vc.cvut.cz>
Subject: Re: [parisc-linux] partial success with matroxfb
Date: Fri, 20 Sep 2002 09:23:31 +0200 [thread overview]
Message-ID: <200209200923.31247.deller@gmx.de> (raw)
In-Reply-To: <20020920002700.GY22068@gate450.dyndns.org>
On Friday 20 September 2002 02:27, Andreas Seltenreich wrote:
> Hello list,
>
> here is a report about my experiments with a "Matrox Mystique" in
> a C200. The attached diff shows the _temporary_ changes I made to the
> matroxfb.
>
> I replaced the {read,write}{b,w,l} calls to their __raw equivalents,
> because Petr Vandrovec told me that matroxfb expects them to do BE to
> PCI on BE machines. I had no success when running the card in LE mode.
Hi Andreas,
instead of
static inline unsigned int mga_readb(vaddr_t va, unsigned int offs) {
+ return __raw_readb(va.vaddr + offs);
- return readb(va.vaddr + offs);
}
I think you should use the
fb_readXXX() and fb_writeXX()
functions from include/video/fbcon.h which are automatically
initialized correctly acording to the architecture.
Greetings,
Helge
next prev parent reply other threads:[~2002-09-20 7:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20020821232010.GD15344@gate450.dyndns.org>
[not found] ` <20020822225054.GA24190@ppc.vc.cvut.cz>
2002-09-20 0:27 ` [parisc-linux] partial success with matroxfb Andreas Seltenreich
2002-09-20 7:23 ` Helge Deller [this message]
2002-09-20 15:54 ` Andreas Seltenreich
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=200209200923.31247.deller@gmx.de \
--to=deller@gmx.de \
--cc=parisc-linux@lists.parisc-linux.org \
--cc=s_selten@informatik.uni-karlsruhe.de \
--cc=vandrove@vc.cvut.cz \
/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