ecc/e3: Split it into two drivers, coremctl(4) and ecc(4)
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 11 Feb 2015 09:06:17 +0000 (17:06 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 12 Feb 2015 08:50:08 +0000 (16:50 +0800)
commitf7409137935ee81167bddbeb7a340e4c086f6290
treee922d62a6f01344ad8330633e2b50752c8969fec
parentda83e939a8414e4db4a3025a2629a1752353327d
ecc/e3: Split it into two drivers, coremctl(4) and ecc(4)

coremctl(4), which maps the MCHBAR, is now the parent of ecc(4) for
Intel E3 cpus.  This paves way to add Intel Core/E3 support to
memtemp(4).

Tested-by: dillon@ on i3/Haswell and E3/v3
13 files changed:
sys/conf/files
sys/conf/kmod.mk
sys/config/LINT64
sys/config/X86_64_GENERIC
sys/dev/misc/Makefile
sys/dev/misc/coremctl/Makefile [new file with mode: 0644]
sys/dev/misc/coremctl/coremctl.c [new file with mode: 0644]
sys/dev/misc/coremctl/coremctl_if.m [new file with mode: 0644]
sys/dev/misc/coremctl/coremctl_reg.h [new file with mode: 0644]
sys/dev/misc/ecc/Makefile
sys/dev/misc/ecc/ecc_e3.c [new file with mode: 0644]
sys/dev/misc/ecc/ecc_e31200.c [deleted file]
sys/dev/misc/ecc/ecc_e31200_reg.h [deleted file]