linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Permedia2 fb on PPC
@ 2001-12-05 10:29 Marc ZYNGIER
  2001-12-05 17:19 ` Michel Dänzer
  0 siblings, 1 reply; 8+ messages in thread
From: Marc ZYNGIER @ 2001-12-05 10:29 UTC (permalink / raw)
  To: linuxppc-dev


[I'm forwarding this from linux-kernel, per Tom Rini request. Could
anyone with a previously working Permedia2 test this patch and tell me
if this breaks something. You can also scream if it works ;-)]

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.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-12-08 23:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-05 10:29 [PATCH] Permedia2 fb on PPC Marc ZYNGIER
2001-12-05 17:19 ` Michel Dänzer
2001-12-05 22:52   ` Marc ZYNGIER
2001-12-08 21:47     ` Michel Dänzer
2001-12-08 22:41       ` Marc ZYNGIER
2001-12-08 22:51         ` Michel Dänzer
2001-12-08 23:08           ` Marc ZYNGIER
2001-12-08 23:43             ` Michel Dänzer

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).