From f0daab572fa987771498410c18d67065203e7e6a Mon Sep 17 00:00:00 2001 From: dfr Date: Mon, 24 Jan 2000 09:22:51 +0000 Subject: Add a workaround to which allows alphas to reserve a port range which doesn't conflict with the parallel port on my miata (0x3bc..0x3bf). The right solution will be to reserve two port ranges in vga, 0x3b0..0x3ba and 0x3c0..0x3ca. Reviewed by: yokota --- sys/dev/fb/vga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/fb') diff --git a/sys/dev/fb/vga.c b/sys/dev/fb/vga.c index 485b074..f81acc6 100644 --- a/sys/dev/fb/vga.c +++ b/sys/dev/fb/vga.c @@ -1174,7 +1174,7 @@ probe_adapters(void) } /* remove conflicting modes if we have more than one adapter */ - if (biosadapters > 1) { + if (biosadapters > 0) { for (i = 0; i < biosadapters; ++i) { if (!(biosadapter[i].va_flags & V_ADP_MODECHANGE)) continue; -- cgit v1.1