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
This commit is contained in:
Doug Rabson 2000-01-24 09:22:51 +00:00
parent 54e6aeb25d
commit f0aac6a503

View File

@ -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;