DORMANTno replies

[PATCH 5/8] fbdev: Fix source copy bug in neofb

From: Antonino A. Daplas <hidden>
Date: 2004-11-02 11:47:05

Fix copy system-io copy bug.

Signed-off-by: Antonino Daplas <redacted>
---

 neofb.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -Nru a/drivers/video/neofb.c b/drivers/video/neofb.c
--- a/drivers/video/neofb.c	2004-10-29 05:38:32 +08:00
+++ b/drivers/video/neofb.c	2004-11-01 07:21:53 +08:00
@@ -1529,7 +1529,7 @@
 	       &par->neo2200->xyExt);
 
 	for (i = 0; i < data_len; i++)
-		writeb(image->data[i], par->mmio_vbase + 0x100000);
+		writeb(image->data[i], par->mmio_vbase + 0x100000 + i);
 }
 
 static void




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help