[PATCH] vgacon: fix EGA cursor resize function
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 27 Mar 2006 09:17:19 +0000 (01:17 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 27 Mar 2006 16:44:55 +0000 (08:44 -0800)
commit2115aea8185c8987b7688111953322742bd8795c
tree62a791c01b10cdd98d4907d2a168d51e87558c09
parentc94ded6e602594c8e66fd5b1ba832d5327f5c103
[PATCH] vgacon: fix EGA cursor resize function

This corrects cursor resize on ega boards: registers are write-only, so we
shouldn't even try to read them.  And on ega, 31/30 produces a flat cursor.
Using 31/31 is better: except with 32 pixels high fonts, it shouldn't show
up.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/console/vgacon.c