Subject: CVS commit: src/sys/arch
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 10/01/2006 18:37:55
Module Name:	src
Committed By:	bouyer
Date:		Sun Oct  1 18:37:55 UTC 2006

Modified Files:
	src/sys/arch/i386/conf: GENERIC files.i386
	src/sys/arch/i386/i386: bios32.c mainbus.c
	src/sys/arch/x86/conf: files.x86
Added Files:
	src/sys/arch/x86/include: ipmivar.h smbiosvar.h
	src/sys/arch/x86/x86: ipmi.c

Log Message:
Add ipmi(4) driver, from OpenBSD. This requires SMBios support, so add
SMBios detection and mapping to bios32.c, also from OpenBSD (for now this
is only compiled in if ipmi(4) is configured). The sensors and watchdog are
accessible though envsys(4).
Works on i386; some work is needed on amd64 to access the BIOS. It would
eventually work on Xen if the SMBios is accessible (to be tested).


To generate a diff of this commit:
cvs rdiff -r1.786 -r1.787 src/sys/arch/i386/conf/GENERIC
cvs rdiff -r1.292 -r1.293 src/sys/arch/i386/conf/files.i386
cvs rdiff -r1.10 -r1.11 src/sys/arch/i386/i386/bios32.c
cvs rdiff -r1.64 -r1.65 src/sys/arch/i386/i386/mainbus.c
cvs rdiff -r1.19 -r1.20 src/sys/arch/x86/conf/files.x86
cvs rdiff -r0 -r1.1 src/sys/arch/x86/include/ipmivar.h \
    src/sys/arch/x86/include/smbiosvar.h
cvs rdiff -r0 -r1.1 src/sys/arch/x86/x86/ipmi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.