patch-pre2.0.5 linux/arch/m68k/atari/atafb.c

Next file: linux/arch/m68k/atari/config.c
Previous file: linux/arch/i386/kernel/traps.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.4/linux/arch/m68k/atari/atafb.c linux/arch/m68k/atari/atafb.c
@@ -515,6 +515,7 @@
 	fix->xpanstep=0;
 	fix->ypanstep=1;
 	fix->ywrapstep=0;
+	fix->line_length = 0;
 	for (i=0; i<arraysize(fix->reserved); i++)
 		fix->reserved[i]=0;
 	return 0;
@@ -832,6 +833,7 @@
 		fix->xpanstep = 1;
 	fix->ypanstep = 1;
 	fix->ywrapstep = 0;
+	fix->line_length = 0;
 	for (i=0; i<arraysize(fix->reserved); i++)
 		fix->reserved[i]=0;
 	return 0;
@@ -1717,6 +1719,7 @@
 	else
 		fix->ypanstep = 0;
 	fix->ywrapstep = 0;
+	fix->line_length = 0;
 	for (i=0; i<arraysize(fix->reserved); i++)
 		fix->reserved[i]=0;
 	return 0;
@@ -2049,6 +2052,7 @@
 	fix->xpanstep = 0;
 	fix->ypanstep = 0;
 	fix->ywrapstep = 0;
+	fix->line_length = 0;
 	for (i=0; i<arraysize(fix->reserved); i++)
 		fix->reserved[i]=0;
 	return 0;
@@ -2592,6 +2596,7 @@
 	disp[con].type_aux = fix.type_aux;
 	disp[con].ypanstep = fix.ypanstep;
 	disp[con].ywrapstep = fix.ywrapstep;
+	disp[con].line_length = fix.line_length;
 	if (fix.visual != FB_VISUAL_PSEUDOCOLOR &&
 		fix.visual != FB_VISUAL_DIRECTCOLOR)
 		disp[con].can_soft_blank = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this