CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/09/19 08:07:41
Modified files:
sys/dev/acpi : com_acpi.c
Log message:
There are machines with broken AML that define two serial ports at the
same address. Normally only one of these would attach since we check
whether the address is available in the match function. But this check
is bypassed for the console since the address has already been mapped in
that case and the check would always fail. Unfortunately this means that
we end up with two serial console devices sharing the same hardware. This
causes all kinds of random corruption later on.
Fix this by checking the comconsattached variable, which is what we already
do for com@isa.
ok mlarkin@, deraadt@, patrick@