patch-2.2.16 linux/drivers/video/vga16fb.c

Next file: linux/fs/binfmt_elf.c
Previous file: linux/drivers/video/mdacon.c
Back to the patch index
Back to the overall index

diff -urN v2.2.15/linux/drivers/video/vga16fb.c linux/drivers/video/vga16fb.c
@@ -480,7 +480,7 @@
 	if (pos & 0x200)
 		r7 |= 0x80;
 	pos += vslen;
-	par->crtc[CRTC_V_SYNC_END] = (pos & 0x0F) | 0x10; /* disabled IRQ */
+	par->crtc[CRTC_V_SYNC_END] = (pos & 0x0F) & ~0x10; /* disabled IRQ */
 	pos += upper - 1; /* blank_end + 1 <= ytotal + 2 */
 	par->crtc[CRTC_V_BLANK_END] = pos & 0xFF; /* 0x7F for original VGA,
                      but some SVGA chips requires all 8 bits to set */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)