fbdev: Fix source copy bug in neofb

Started by Antonino A. Daplas on Nov 2, 2004

Subsystems (2)

Maintainers (2)

DORMANTno replies

open the first message on its own page

Message details and related content
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 / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help