2000-12-13 18:25:12

by Damien BENOIST

[permalink] [raw]
Subject: kernel 2.2.17 vgaconsole patch

I had already mailed to [email protected] but got
no answer, so i remail as described in the
"How to Get Your Change Into the Linux Kernel or The Unofficial
Linus HOWTO"
Please give me some feed back ([email protected]) thanks.

kernel: 2.2.17

pb: // 0 does not work with ega/vga adapter and mono display

how to duplicate the pb:
compile the kernel with the following options (module or not):
- vga console
- parallel port
use the following hardware:
- monochrome display
- ega/vga adapter
- a // port at 0x3bc

changes:
- region size for ega/vga adapter with mono display (12bytes
instead of 16).

--- drivers/video/vgacon.c Fri Oct 13 21:05:36 2000
+++ drivers/video/vgacon.c.old Thu Oct 12 16:12:17 2000
@@ -27,9 +27,6 @@
* flashing on RHS of screen during heavy console scrolling .
* Oct 1996, Paul Gortmaker.
*
- * For monochrome display with ega adapter the requested port region was
- * too large, going over the // port 0 region. //0 was then inaccessible.
- * Oct 2000, <[email protected]>
*
* This file is subject to the terms and conditions of the GNU General
Public
* License. See the file COPYING in the main directory of this archive for
@@ -183,7 +180,7 @@
vga_video_type = VIDEO_TYPE_EGAM;
vga_vram_end = 0xb8000;
display_desc = "EGA+";
- request_region(0x3b0,12,"ega");
+ request_region(0x3b0,16,"ega");
}
else
{


______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup