From owner-cvs-src@FreeBSD.ORG Fri Apr 16 23:05:23 2004 Return-Path: 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 6870B16A4CE for ; Fri, 16 Apr 2004 23:05:23 -0700 (PDT) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 4573343D62 for ; Fri, 16 Apr 2004 23:05:23 -0700 (PDT) (envelope-from nate@root.org) Received: (qmail 1888 invoked by uid 1000); 17 Apr 2004 06:05:25 -0000 Date: Fri, 16 Apr 2004 23:05:25 -0700 (PDT) From: Nate Lawson To: Paul Saab In-Reply-To: <20040416230100.5011316A4FE@hub.freebsd.org> Message-ID: <20040416230427.F1848@root.org> References: <20040416230100.5011316A4FE@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/ciss ciss.c cissreg.h cissvar.h src/share/man/man4 ciss.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Sat, 17 Apr 2004 06:05:23 -0000 Excellent work, maintenance of our RAID drivers has been lacking as of late. On Fri, 16 Apr 2004, Paul Saab wrote: > ps 2004/04/16 16:00:02 PDT > > FreeBSD src repository > > Modified files: > sys/dev/ciss ciss.c cissreg.h cissvar.h > share/man/man4 ciss.4 > Log: > Add support for the HP Modular Smart Array 20 & 500 storage arrays. > Logical volumes on these devices show up as LUNs behind another > controller (also known as proxy controller). In order to issue > firmware commands for a volume on a proxy controller, they must be > targeted at the address of the proxy controller it is attached to, > not the Host/PCI controller. > > A proxy controller is defined as a device listed in the INQUIRY > PHYSICAL LUNS command who's L2 and L3 SCSI addresses are zero. The > corresponding address returned defines which "bus" the controller > lives on and we use this to create a virtual CAM bus. > > A logical volume's addresses first byte defines the logical drive > number. The second byte defines the bus that it is attached to > which corresponds to the BUS of the proxy controller's found or the > Host/PCI controller. > > Change event notification to be handled in its own kernel thread. > This is needed since some events may require the driver to sleep > on some operations and this cannot be done during interrupt context. > With this change, it is now possible to create and destroy logical > volumes from FreeBSD, but it requires a native application to > construct the proper firmware commands which is not publicly > available. > > Special thanks to John Cagle @ HP for providing remote access to > all the hardware and beating on the storage engineers at HP to > answer my questions. > > Revision Changes Path > 1.6 +4 -0 src/share/man/man4/ciss.4 > 1.41 +435 -124 src/sys/dev/ciss/ciss.c > 1.7 +9 -0 src/sys/dev/ciss/cissreg.h > 1.7 +18 -14 src/sys/dev/ciss/cissvar.h >