git: kernel/pci: Use ACPI's ACPI_PWR_FOR_SLEEP().

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Apr 1 07:52:42 PDT 2026


commit d25361227cea97679a3bc1a286fa0959d6f24424
Author: Sascha Wildner <saw at online.de>
Date:   Wed Apr 1 16:50:43 2026 +0200

    kernel/pci: Use ACPI's ACPI_PWR_FOR_SLEEP().
    
    __HAVE_ACPI was never defined in DragonFly because the PCI upgrade
    that brought in this check (4d28e78f7e70287ae03930ce9e16ba027ca69477)
    missed actually defining it.
    
    It only affects _suspend() and _resume() functions so in practice it
    shouldn't cause any functional change.

Summary of changes:
 sys/bus/pci/pci.c | 10 +++-------
 sys/conf/files    |  2 +-
 2 files changed, 4 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d25361227cea97679a3bc1a286fa0959d6f24424


-- 
DragonFly BSD source repository


More information about the Commits mailing list