git: ecc/e3: Split it into two drivers, coremctl(4) and ecc(4)

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Feb 12 00:50:35 PST 2015


commit f7409137935ee81167bddbeb7a340e4c086f6290
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Wed Feb 11 17:06:17 2015 +0800

    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

Summary of changes:
 sys/conf/files                       |   4 +-
 sys/conf/kmod.mk                     |   3 +-
 sys/config/LINT64                    |   2 +
 sys/config/X86_64_GENERIC            |   3 +
 sys/dev/misc/Makefile                |   2 +-
 sys/dev/misc/coremctl/Makefile       |   5 +
 sys/dev/misc/coremctl/coremctl.c     | 367 ++++++++++++++++++++++++++++
 sys/dev/misc/coremctl/coremctl_if.m  |   9 +
 sys/dev/misc/coremctl/coremctl_reg.h |  83 +++++++
 sys/dev/misc/ecc/Makefile            |   4 +-
 sys/dev/misc/ecc/ecc_e3.c            | 337 ++++++++++++++++++++++++++
 sys/dev/misc/ecc/ecc_e31200.c        | 451 -----------------------------------
 sys/dev/misc/ecc/ecc_e31200_reg.h    |  76 ------
 13 files changed, 814 insertions(+), 532 deletions(-)
 create mode 100644 sys/dev/misc/coremctl/Makefile
 create mode 100644 sys/dev/misc/coremctl/coremctl.c
 create mode 100644 sys/dev/misc/coremctl/coremctl_if.m
 create mode 100644 sys/dev/misc/coremctl/coremctl_reg.h
 create mode 100644 sys/dev/misc/ecc/ecc_e3.c
 delete mode 100644 sys/dev/misc/ecc/ecc_e31200.c
 delete mode 100644 sys/dev/misc/ecc/ecc_e31200_reg.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f7409137935ee81167bddbeb7a340e4c086f6290


-- 
DragonFly BSD source repository


More information about the Commits mailing list