patch-2.2.17 linux/drivers/video/matroxfb.c
Next file: linux/drivers/video/offb.c
Previous file: linux/drivers/video/macmodes.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Mon Sep 4 18:39:22 2000
- Orig file:
v2.2.16/drivers/video/matroxfb.c
- Orig date:
Mon Sep 4 18:37:41 2000
diff -u --recursive --new-file v2.2.16/drivers/video/matroxfb.c linux/drivers/video/matroxfb.c
@@ -4693,7 +4693,12 @@
}
display->var = *var;
/* cmap */
+#ifdef __alpha__
+ display->screen_base = vaddr_va(ACCESS_FBINFO(video.vbase)) + ydstorg
+ + dense_mem(vaddr_va(ACCESS_FBINFO(video.vbase)));
+#else
display->screen_base = vaddr_va(ACCESS_FBINFO(video.vbase)) + ydstorg;
+#endif
display->visual = visual;
display->ypanstep = 1;
display->ywrapstep = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)