git: acpi/pstate: Support Integer _PSD

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon May 30 22:00:01 PDT 2011


commit 0cb292d17645467e09d461a3818b6bb28b7f1d8e
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue May 31 12:37:21 2011 +0800

    acpi/pstate: Support Integer _PSD
    
    Standard _PSD should be package, while some buggy BIOSes will use Integer
    for _PSD, e.g. Gigbyte's GA-H67MA-UD2H-B3.
    
    Following template is used for Integer _PSD, after I have fiddled
    around with the hw.acpi.cpu sysctl tree a little bit:
    - Coordination is set to software all
    - The integer of _PSD is taken as the power domain number
    - The number of CPUs in the power domain is updated when new CPU in that
      power domain is seen

Summary of changes:
 sys/dev/acpica5/acpi_cpu_pstate.c |   62 ++++++++++++++++++++++++++++++++----
 1 files changed, 55 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0cb292d17645467e09d461a3818b6bb28b7f1d8e


-- 
DragonFly BSD source repository





More information about the Commits mailing list