summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2000-01-24 09:22:51 +0000
committerdfr <dfr@FreeBSD.org>2000-01-24 09:22:51 +0000
commitf0daab572fa987771498410c18d67065203e7e6a (patch)
tree666b1df727470123ecc4f12ff736a29251ec036f /sys/dev
parent66353a5438f3a938f7421cd33561fc8a91b2a36c (diff)
downloadFreeBSD-src-f0daab572fa987771498410c18d67065203e7e6a.zip
FreeBSD-src-f0daab572fa987771498410c18d67065203e7e6a.tar.gz
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
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/fb/vga.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud