Module Name: src Committed By: bouyer Date: Wed Sep 19 21:24:30 UTC 2012
Modified Files: src/etc: MAKEDEV.tmpl src/etc/etc.amd64: MAKEDEV.conf src/etc/etc.i386: MAKEDEV.conf src/sys/compat/linux/common: linux_ioctl.c src/sys/conf: majors src/sys/dev/ic: mfi.c mfireg.h mfivar.h Added Files: src/sys/dev/ic: mfiio.h Log Message: Add a pass-through ioctl for mfi(4), allowing userland to send raw commands to the controller. This is compatible with the linux and FreeBSD implementations. Add the needed conversion for mfi ioctls in COMPAT_LINUX Allocate a character major number, and create /dev/mfi0 by default on amd64 and i386. This allows (along with a hand-created /emul/linux/proc/devices file) to run the MegaCLI linux binary provided by LSI. To generate a diff of this commit: cvs rdiff -u -r1.158 -r1.159 src/etc/MAKEDEV.tmpl cvs rdiff -u -r1.18 -r1.19 src/etc/etc.amd64/MAKEDEV.conf cvs rdiff -u -r1.23 -r1.24 src/etc/etc.i386/MAKEDEV.conf cvs rdiff -u -r1.56 -r1.57 src/sys/compat/linux/common/linux_ioctl.c cvs rdiff -u -r1.61 -r1.62 src/sys/conf/majors cvs rdiff -u -r1.46 -r1.47 src/sys/dev/ic/mfi.c cvs rdiff -u -r0 -r1.1 src/sys/dev/ic/mfiio.h cvs rdiff -u -r1.7 -r1.8 src/sys/dev/ic/mfireg.h cvs rdiff -u -r1.19 -r1.20 src/sys/dev/ic/mfivar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.