lkml.org 
[lkml]   [2002]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: mdacon.c minor cleanups
On Mon, 25 Mar 2002, Zwane Mwaikambo wrote:

> The mdacon probe code doesn't seem to work well, if i have it compiled in
> it *always* detects an MDA card, even if there isn't one actually in the
> box. I can provide the dmesg if anyone's interested.

The mdacon.c in 2.4.18 does not actually test for an MDA card, it only
test for ram where the MDA vram is. The problem is that almost any vga
card maps ram to that address.
There is a test, but it is somewhat wrong (it changes registers, but
does not save and restore the original values) and is commented out. If
you fix this and uncomment the test, it works in some cases (this was
discussed under the subject "MDA video detection request" on July 2000).


--
Matan Ziv-Av. matan@svgalib.org





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.088 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site