git: amd - Add family 19h temperature sensor support, fix 17h support

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jan 7 10:46:27 PST 2023


commit 4970ada57b6cc19fe689ea63ed5ec5e21cf4a22a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Jan 7 10:42:38 2023 -0800

    amd - Add family 19h temperature sensor support, fix 17h support
    
    * Add family 19h temperature sensor support.  Note that the
      CCD address offset for models 0x60-0x6f and 0x70-0x7f is
      0x308, not 0x154.
    
    * Fix temperature sensor address base for CCD temps for
      some 17h models.  0x10-0x1f, 0x40-4f, and 0x10-1f models
      use an offset of 0x300, not 0x154.
    
    * Address offset corrections obtained from linux

Summary of changes:
 sys/dev/powermng/amdsmn/amdsmn.c   |  59 ++++++++++++++++++-
 sys/dev/powermng/amdtemp/amdtemp.c | 116 ++++++++++++++++++++++++++++++-------
 2 files changed, 151 insertions(+), 24 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4970ada57b6cc19fe689ea63ed5ec5e21cf4a22a


-- 
DragonFly BSD source repository


More information about the Commits mailing list