Commit Graph

3 Commits

Author SHA1 Message Date
pgoyette
7bcb9558e0 1. Reorganize code into memory-type-specific routines instead of multiple
monstrous if-then-else-if constructs.
2. Display module capacity in GB if it is at least 1GB.
3. Indicate if a memory module is "registered".
4. For DDR3, indicate if a temp-sensor is present.

Inspired by similar changes in OpenBSD's spdmem(4).
2009-02-22 17:28:50 +00:00
pgoyette
f9eb81cfb1 Miscellaneous clean-ups:
1. Use proper CRc check for FB-DIMMs rather than simple checksum
  2. Provide access to entire SPD ROM contents via sysctl, rather than
     only the first 64 bytes
  3. Use macros to define i2c bus address checking
  4. General fix-up for RAMBUS memory (not that anyone I know has one)

OK garbled@
2008-09-27 06:58:08 +00:00
tnn
449902fc06 Add spdmem(4) driver. This decodes technical specifications stored in
the eeprom on common types of memory modules. The specifications are
displayed during boot and can later be queried in the hw.spdmemN sysctl
subtree. Stub driver written by Nicolas Joly and greatly improved upon by
Paul Goyette. From PR 36745, with additional improvements by Paul and me.
2007-08-18 11:26:35 +00:00