From owner-cvs-src@FreeBSD.ORG Thu Jun 15 16:07:58 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 89C5E16A481; Thu, 15 Jun 2006 16:07:58 +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 58C0F43D5D; Thu, 15 Jun 2006 16:07:57 +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 k5FG7vrm060360; Thu, 15 Jun 2006 16:07:57 GMT (envelope-from ambrisko@repoman.freebsd.org) Received: (from ambrisko@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k5FG7vKr060359; Thu, 15 Jun 2006 16:07:57 GMT (envelope-from ambrisko) Message-Id: <200606151607.k5FG7vKr060359@repoman.freebsd.org> From: Doug Ambrisko Date: Thu, 15 Jun 2006 16:07:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/modules/mfi Makefile src/sys/modules/mfi/mfi_linux Makefile src/sys/dev/mfi mfi.c mfi_disk.c mfi_ioctl.h mfi_linux.c mfi_pci.c mfireg.h mfivar.h 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, 15 Jun 2006 16:07:58 -0000 ambrisko 2006-06-15 16:07:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/modules/mfi Makefile sys/dev/mfi mfi.c mfi_disk.c mfi_ioctl.h mfi_pci.c mfireg.h mfivar.h Added files: (Branch: RELENG_6) sys/modules/mfi/mfi_linux Makefile sys/dev/mfi mfi_linux.c Log: MFC in all the changes to the mfi(4) driver. The high light is: 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. Revision Changes Path 1.3.2.2 +820 -11 src/sys/dev/mfi/mfi.c 1.2.2.2 +2 -0 src/sys/dev/mfi/mfi_disk.c 1.1.2.2 +23 -0 src/sys/dev/mfi/mfi_ioctl.h 1.1.2.1 +90 -0 src/sys/dev/mfi/mfi_linux.c (new) 1.1.2.2 +2 -0 src/sys/dev/mfi/mfi_pci.c 1.1.2.2 +194 -23 src/sys/dev/mfi/mfireg.h 1.1.2.2 +12 -0 src/sys/dev/mfi/mfivar.h 1.1.2.2 +4 -5 src/sys/modules/mfi/Makefile 1.1.2.1 +8 -0 src/sys/modules/mfi/mfi_linux/Makefile (new)