cvs commit: src/sys/dev/acpica acpi_ec.c
Nate Lawson
njl at FreeBSD.org
Sun Jul 20 14:12:23 PDT 2003
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
More information about the cvs-src
mailing list