Module Name: src Committed By: riz Date: Wed Oct 24 03:23:46 UTC 2012
Modified Files: src/etc [netbsd-6]: MAKEDEV.tmpl src/etc/etc.amd64 [netbsd-6]: MAKEDEV.conf src/etc/etc.i386 [netbsd-6]: MAKEDEV.conf src/sys/compat/linux/common [netbsd-6]: linux_ioctl.c src/sys/conf [netbsd-6]: majors src/sys/dev/ic [netbsd-6]: mfi.c mfireg.h mfivar.h Added Files: src/sys/dev/ic [netbsd-6]: mfiio.h Log Message: Pull up following revision(s) (requested by bouyer in ticket #629): sys/compat/linux/common/linux_ioctl.c: revision 1.57 sys/dev/ic/mfi.c: revision 1.47 sys/conf/majors: revision 1.62 etc/etc.i386/MAKEDEV.conf: revision 1.24 sys/dev/ic/mfivar.h: revision 1.20 etc/MAKEDEV.tmpl: revision 1.159 sys/dev/ic/mfiio.h: revision 1.1 etc/etc.amd64/MAKEDEV.conf: revision 1.19 sys/dev/ic/mfireg.h: revision 1.8 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.151.2.6 -r1.151.2.7 src/etc/MAKEDEV.tmpl cvs rdiff -u -r1.17 -r1.17.6.1 src/etc/etc.amd64/MAKEDEV.conf cvs rdiff -u -r1.21 -r1.21.6.1 src/etc/etc.i386/MAKEDEV.conf cvs rdiff -u -r1.56 -r1.56.8.1 src/sys/compat/linux/common/linux_ioctl.c cvs rdiff -u -r1.61 -r1.61.2.1 src/sys/conf/majors cvs rdiff -u -r1.36.8.3 -r1.36.8.4 src/sys/dev/ic/mfi.c cvs rdiff -u -r0 -r1.1.2.2 src/sys/dev/ic/mfiio.h cvs rdiff -u -r1.4.16.2 -r1.4.16.3 src/sys/dev/ic/mfireg.h cvs rdiff -u -r1.14.16.2 -r1.14.16.3 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.