Date: Mon, 7 Jun 2004 21:39:16 +0000 (UTC) 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_pci.c acpi_powerres.c Message-ID: <200406072139.i57LdGw2034491@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2004-06-07 21:39:16 UTC
FreeBSD src repository
Modified files:
sys/dev/acpica acpi_pci.c acpi_powerres.c
Log:
Avoid printing extraneous warning messages when trying to switch a device
which doesn't support ACPI power states. Return AE_NOT_FOUND for these
cases and don't print the warning message. Also, print the name of the
handle instead of device when unable to switch states. The device is often
not attached at this point and so its name is NULL, which doesn't help
debugging.
Revision Changes Path
1.17 +6 -9 src/sys/dev/acpica/acpi_pci.c
1.23 +11 -8 src/sys/dev/acpica/acpi_powerres.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406072139.i57LdGw2034491>
