Date: Sun, 20 Jul 2003 14:12:21 -0700 (PDT) From: Nate Lawson <njl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/acpica acpi_ec.c Message-ID: <200307202112.h6KLCLiv059614@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2003/07/20 14:12:21 PDT
FreeBSD src repository
Modified files:
sys/dev/acpica acpi_ec.c
Log:
Do not call acpi_MatchHid() for all probe cases since it accesses the
namespace. To compensate for it only being used in the !ECDT case, use
a more robust approach to indicate a device was probed via ECDT by setting
the private ivar to be &acpi_ec_devclass. Without the acpi_MatchHid() call
now, it might have been possible for a non-EC device to have had its magic
match our previous flag.
Pointed out by: takawata
Revision Changes Path
1.36 +7 -8 src/sys/dev/acpica/acpi_ec.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307202112.h6KLCLiv059614>
