ecc/memtemp/e5 - Correct E5 v3 PCI slot numbers
authorMichael Neumann <mneumann@ntecs.de>
Wed, 11 Feb 2015 11:04:36 +0000 (12:04 +0100)
committerMichael Neumann <mneumann@ntecs.de>
Wed, 11 Feb 2015 11:14:14 +0000 (12:14 +0100)
commitcb830afba7cfc37c7ec606624482376314fdf4ff
treef8834d97d7f05d1db68621ba8ac6f7525ca3b2e5
parent716deec4b12e68ddc5057052f3fb4a4877415c91
ecc/memtemp/e5 - Correct E5 v3 PCI slot numbers

The PCI slot numbers for E5 v3 IMC as introduced with commit 0c543cdd were
wrong, at least according to the hardware I am testing with (E5 1620).

After this commit and this patch from sephe [1] I can get ecc(4) and
memtemp(4) working on the E5 1600 v3 series:

ecc0: <Intel E5 v3 ECC node0 channel0> [tentative] at device 21.2 on pci255
ecc0: DDR4 ecc0: native DDR
ecc0: DIMM0 8GB, 1x4, density 4GB
ecc0: DIMM0 rank0, corrected error threshold 32767
ecc0: <Intel E5 v3 ECC node0 channel0> [attached!] at device 21.2 on pci255

memtemp0: <Intel E5 v3 memory thermal sensor node0 channel0> [tentative]
           at device 21.0 on pci255
memtemp0: <Intel E5 v3 memory thermal sensor node0 channel0> [attached!]
           at device 21.0 on pci255

[1]: http://leaf.dragonflybsd.org/~sephe/e5_v3_memtemp_ecc.diff
sys/dev/misc/ecc/e5_imc_reg.h