From owner-cvs-src@FreeBSD.ORG Thu Mar 27 17:11:38 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFA101065671; Thu, 27 Mar 2008 17:11:38 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E4A538FC15; Thu, 27 Mar 2008 17:11:38 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2RHBcer027707; Thu, 27 Mar 2008 17:11:38 GMT (envelope-from emaste@repoman.freebsd.org) Received: (from emaste@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2RHBcSJ027706; Thu, 27 Mar 2008 17:11:38 GMT (envelope-from emaste) Message-Id: <200803271711.m2RHBcSJ027706@repoman.freebsd.org> From: Ed Maste Date: Thu, 27 Mar 2008 17:11:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/sys aac_ioctl.h src/sys/dev/aac aac.c 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, 27 Mar 2008 17:11:39 -0000 emaste 2008-03-27 17:11:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sys aac_ioctl.h sys/dev/aac aac.c Log: MFC aac.c r1.129 aac_ioctl.h r1.12: Add ioctls FSACTL_SEND_LARGE_FIB, FSACTL_SEND_RAW_SRB, FSACTL_LNX_SEND_LARGE_FIB, and FSACTL_LNX_SEND_RAW_SRB, and correct size checks on FIBs passed in from userspace. Both changes were obtained from Adaptec's driver build 15317. Adaptec's commandline RAID tool arcconf uses these ioctls when creating a RAID-10 array (and probably other operations too). aac.c r1.130: Restore creation of passthrough devices with newer controller firmware by putting the correct size in the fib header. Presumably the older firmware silently ignored a bad size field. (This change tested with a 3805 controller. Passthrough devices were created when running firmware build 12814, but not 15323 or later. With this change they're created for both old and new firmware versions.) Submitted by: Adaptec Revision Changes Path 1.120.2.7 +33 -10 src/sys/dev/aac/aac.c 1.11.12.1 +6 -0 src/sys/sys/aac_ioctl.h