]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC 241748:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 28 Feb 2013 18:49:31 +0000 (18:49 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 28 Feb 2013 18:49:31 +0000 (18:49 +0000)
commitf5fbeaf0aaf4c65827d2d00960509a1327fe986e
tree93d437cbc6f634746f098ee09d18ec4dfdffd9f2
parent80b6bc8df7fc8fc831848ddada1012a7293435cb
MFC 241748:
When checking to see if a video output's _ADR matches an entry in the
parent adapter's _DOD list, only check the low 16 bits of both _ADR and
_DOD.  The language in the ACPI spec seems to indicate that the _ADR values
should exactly match the entries in _DOD.  However, I assume that the
masking added to _DOD values was added to work around some known busted
machines (the commit history doesn't indicate either way), and the ACPI
spec does require that the low 16 bits are unique for all video outputs,
so only checking the low 16 bits should be fine.

This fixes recognition of video outputs that use the new standardized
device ID scheme in ACPI 3.0 that set bit 31 such as certain Dell laptops.

git-svn-id: svn://svn.freebsd.org/base/stable/9@247487 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/acpica/acpi_video.c