dimm: Implement pseudo device driver for DIMM related drivers
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 29 Mar 2015 12:26:36 +0000 (20:26 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 5 Apr 2015 13:21:42 +0000 (21:21 +0800)
commit881f7bffbf5c93279c3f44045887e049cd4ae842
tree62d98397b62e48482b520470711444561f5f3fd3
parentb93cc2e0815ec1ad6d6f8e60cc0becbdee247679
dimm: Implement pseudo device driver for DIMM related drivers

- This pseudo device driver installs sensor device for DIMM related
  sensors (memtemp(4) and upcoming ecc(4) changes).
- This pseudo device driver keeps DIMM location information.  And
  the location information is exposed through a new sysctl tree,
  hw.dimminfo.  The nodes in this sysctl tree have the same names
  as the sensor devices, so that programatic way could be used to
  report DIMM status.
- This pseudo device implements common sensor update function for
  memtemp(4).  And it keeps configurable temperature thresholds for
  memtemp(4) sensor.
- Utilize this pseudo device driver in memtemp(4).
share/man/man4/memtemp.4
sys/conf/files
sys/config/LINT64
sys/config/X86_64_GENERIC
sys/dev/misc/Makefile
sys/dev/misc/dimm/Makefile [new file with mode: 0644]
sys/dev/misc/dimm/dimm.c [new file with mode: 0644]
sys/dev/misc/dimm/dimm.h [new file with mode: 0644]
sys/dev/powermng/memtemp/memtemp_core.c
sys/dev/powermng/memtemp/memtemp_e5.c