mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marc ZYNGIER <mzyngier@freesurf.fr>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Permedia2 fb on PPC
Date: 04 Dec 2001 23:16:13 +0100	[thread overview]
Message-ID: <wrpk7w2tyvm.fsf@hina.wild-wind.fr.eu.org> (raw)

Hi all,

The following patchlet allows the Permedia2 framebuffer to work
properly on power-pc (instead of crashing the machine...).

This has been tested with a PCI Formac Promedia3D (aka formacGA8) on a
PowerMac 7500 (with a G3 card, if that matters...).

Patch is against 2.4.16, but should apply to any recent 2.[45] kernel.

        M.

--- drivers/video/pm2fb.c.orig	Fri Sep 14 22:44:49 2001
+++ drivers/video/pm2fb.c	Tue Dec  4 20:44:18 2001
@@ -48,7 +48,7 @@
 #error	"The endianness of the target host has not been defined."
 #endif
 
-#if defined(__BIG_ENDIAN) && !defined(__sparc__)
+#if defined(__BIG_ENDIAN) && !defined(__sparc__) && (!defined(CONFIG_PPC) || defined(CONFIG_FB_PM2_CVPPC))
 #define PM2FB_BE_APERTURE
 #endif
 

-- 
Places change, faces change. Life is so very strange.

                 reply	other threads:[~2001-12-04 22:17 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=wrpk7w2tyvm.fsf@hina.wild-wind.fr.eu.org \
    --to=mzyngier@freesurf.fr \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®