HomeFreeBSD

Split power state control into two variables. hw.pci.do_powerstate
rS150430Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Split power state control into two variables. hw.pci.do_powerstate
has been removed. It has been replaced by hw.pci.do_power_nodriver
and hw.pci.do_power_resume. The former defaults to 0 while the latter
defaults to 1.

When do_powerstate was set to 0, it broke suspend/resume for a lot of
people as an unintended consequence. This change will only affect the
areas that were intended to affect. This change will have no effect on
servers, but will help laptops quite a bit.

MFC After: 3 days.

Details

Provenance
impAuthored on
Parents
rS150429: Add COMPAT_FREEBSD5 option. This should have been done back when I
Branches
Unknown
Tags
Unknown

Event Timeline