From owner-cvs-src@FreeBSD.ORG Thu May 18 23:31:15 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30A6F16A401; Thu, 18 May 2006 23:31:15 +0000 (UTC) (envelope-from ambrisko@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D097A43D45; Thu, 18 May 2006 23:31:14 +0000 (GMT) (envelope-from ambrisko@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k4INUmd3020361; Thu, 18 May 2006 23:30:48 GMT (envelope-from ambrisko@repoman.freebsd.org) Received: (from ambrisko@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k4INUmJa020360; Thu, 18 May 2006 23:30:48 GMT (envelope-from ambrisko) Message-Id: <200605182330.k4INUmJa020360@repoman.freebsd.org> From: Doug Ambrisko Date: Thu, 18 May 2006 23:30:48 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/conf files files.amd64 options src/sys/dev/mfi mfi.c mfi_disk.c mfi_ioctl.h mfi_linux.c mfi_pci.c mfireg.h mfivar.h src/sys/modules/mfi Makefile src/sys/modules/mfi/mfi_linux Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 23:31:15 -0000 ambrisko 2006-05-18 23:30:48 UTC FreeBSD src repository Modified files: sys/conf files files.amd64 options sys/dev/mfi mfi.c mfi_disk.c mfi_ioctl.h mfi_pci.c mfireg.h mfivar.h sys/modules/mfi Makefile Added files: sys/dev/mfi mfi_linux.c sys/modules/mfi/mfi_linux Makefile Log: Add in a bunch of things to the mfi driver: - Linux ioctl support, with the other Linux changes MegaCli will run if you mount linprocfs & linsysfs then set sysctl compat.linux.osrelease=2.6.12 or similar. This works on i386. It should work on amd64 but not well tested yet. StoreLib may or may not work. Remember to kldload mfi_linux. - Add in AEN (Async Event Notification) support so we can get messages from the firmware when something happens. Not all messages are in defined in event detail. Use event_log to try to figure out what happened. - Try to implement something like SIGIO for StoreLib. Since mrmonitor doesn't work right I can't fully test it. StoreLib works best with the rh9 base. In theory mrmonitor isn't needed due to native driver support of AEN :-) Now we can configure and monitor the RAID better. Submitted by: IronPort Systems. Revision Changes Path 1.1118 +1 -0 src/sys/conf/files 1.89 +1 -0 src/sys/conf/files.amd64 1.543 +1 -0 src/sys/conf/options 1.5 +809 -9 src/sys/dev/mfi/mfi.c 1.3 +2 -0 src/sys/dev/mfi/mfi_disk.c 1.2 +23 -0 src/sys/dev/mfi/mfi_ioctl.h 1.1 +90 -0 src/sys/dev/mfi/mfi_linux.c (new) 1.2 +2 -0 src/sys/dev/mfi/mfi_pci.c 1.2 +194 -23 src/sys/dev/mfi/mfireg.h 1.2 +12 -0 src/sys/dev/mfi/mfivar.h 1.2 +4 -0 src/sys/modules/mfi/Makefile 1.1 +8 -0 src/sys/modules/mfi/mfi_linux/Makefile (new)