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).
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@
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.