Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2009 21:47:44 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/amdtemp amdtemp.c
Message-ID:  <200909112147.n8BLltg2099226@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jkim        2009-09-11 21:47:44 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/amdtemp      amdtemp.c 
  Log:
  SVN rev 197102 on 2009-09-11 21:47:44Z by jkim
  
  Improve amdtemp(4) significantly:
  
  - Improve newer AMD processor support (Family 0Fh Revision F and later).
  - Adjust offset if DiodeOffet is set and valid.  Note it is experimental
  but it seems to give us more realistic temperatures.  Newer Linux driver
  blindly adds 21C for Family 0Fh desktop processors, however.
  - Always populate dev.cpu and dev.amdtemp sysctl trees regardless of probe
  order for consistency.  Previously, dev.cpu.N.temperature was not populated
  if amdtemp was loaded later than ACPI CPU driver and temperatures were not
  accessible from dev.amdtemp.N.sensor0 tree for Family 10h/11h processors.
  - Read the CPUID from PCI register instead of CPUID instruction to prevent
  possible revision mismatches on multi-socket system.
  - Change macros and variables to make them closer to AMD documents.
  - Fix style(9) nits and improve comments.
  
  Revision  Changes    Path
  1.6       +225 -124  src/sys/dev/amdtemp/amdtemp.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909112147.n8BLltg2099226>