summaryrefslogtreecommitdiff
path: root/sys/net/bsd-comp.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2022-01-26 14:39:08 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2022-01-26 14:39:08 +0000
commit2f870c4905cb4fa4cc4eb8b75b06101dbd3e027c (patch)
tree0989b72401dc0bd5ba60d6eafe32b82a02f77dba /sys/net/bsd-comp.c
parentfd191bcb799fb3d8b39aeb9c71b57424c0e71b59 (diff)
An ACPI device needs to be both present and enabled for it to function.
So only attempt to attach hardware that has both bits enabled. This fixes an issue where com(4) would attach for a disabled serial port leading to misdetection of the hardware variant and a subsequent hang when /etc/rc runs ttyflags -a. ok anton@, deraadt@
Diffstat (limited to 'sys/net/bsd-comp.c')
0 files changed, 0 insertions, 0 deletions