mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-03 23:28:58 +00:00
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:
parent
54e6aeb25d
commit
f0aac6a503
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56522
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue