linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] imsttfb 2.5.x
@ 2003-04-12 11:19 Boris Bezlaj
  2003-04-15  7:05 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 6+ messages in thread
From: Boris Bezlaj @ 2003-04-12 11:19 UTC (permalink / raw)
  To: linux-fbdev-devel

In 2.5.67 imsttfb locks the system when it's time to scrool the text.
Patch below fixes that. Otherwise everything seems to work as in 2.4

--- linux/drivers/video/ORIG_imsttfb.c  2003-04-09 15:11:46.000000000 +0200
+++ linux/drivers/video/imsttfb.c       2003-04-11 16:44:07.000000000 +0200
@@ -409,7 +409,7 @@
 static inline u32 read_reg_le32(volatile u32 *base, int regindex)
 {
 #ifdef __powerpc__
-       in_le32((volatile u32 *) (base + regindex));
+       return in_le32((volatile u32 *) (base + regindex));
 #else
        return readl(base + regindex);
 #endif

-- 

  Boris


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com

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

end of thread, other threads:[~2003-04-16  8:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-12 11:19 [PATCH] imsttfb 2.5.x Boris Bezlaj
2003-04-15  7:05 ` Benjamin Herrenschmidt
2003-04-15 19:33   ` James Simmons
2003-04-15 20:05     ` Benjamin Herrenschmidt
2003-04-15 22:43       ` Boris Bezlaj
2003-04-16  8:26         ` Benjamin Herrenschmidt

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