lkml.org 
[lkml]   [2001]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] Permedia2 fb on PPC
From
Date
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.027 / U:7.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site