From owner-cvs-src@FreeBSD.ORG Sat Mar 25 07:08:27 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 CB20216A400; Sat, 25 Mar 2006 07:08:27 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9702443D48; Sat, 25 Mar 2006 07:08:27 +0000 (GMT) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k2P78RKX062716; Sat, 25 Mar 2006 07:08:27 GMT (envelope-from mjacob@repoman.freebsd.org) Received: (from mjacob@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2P78Rj1062715; Sat, 25 Mar 2006 07:08:27 GMT (envelope-from mjacob) Message-Id: <200603250708.k2P78Rj1062715@repoman.freebsd.org> From: Matt Jacob Date: Sat, 25 Mar 2006 07:08:27 +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/dev/mpt mpt.c mpt.h mpt_cam.c mpt_debug.c mpt_pci.c mpt_raid.c mpt_reg.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: Sat, 25 Mar 2006 07:08:27 -0000 mjacob 2006-03-25 07:08:27 UTC FreeBSD src repository Modified files: sys/dev/mpt mpt.c mpt.h mpt_cam.c mpt_debug.c mpt_pci.c mpt_raid.c mpt_reg.h Log: Some fairly major changes to this driver. A) Fibre Channel Target Mode support mostly works (SAS/SPI won't be too far behind). I'd say that this probably works just about as well as isp(4) does right now. Still, it and isp(4) and the whole target mode stack need a bit of tightening. B) The startup sequence has been changed so that after all attaches are done, a set of enable functions are called. The idea here is that the attaches do whatever needs to be done *prior* to a port being enabled and the enables do what need to be done for enabling stuff for a port after it's been enabled. This means that we also have events handled by their proper handlers as we start up. C) Conditional code that means that this driver goes back all the way to RELENG_4 in terms of support. D) Quite a lot of little nitty bug fixes- some discovered by doing RELENG_4 support. We've been living under Giant *waaaayyyyy* too long and it's made some of us (me) sloppy. E) Some shutdown hook stuff that makes sure we don't blow up during a reboot (like by the arrival of a new command from an initiator). There's been some testing and LINT checking, but not as complete as would be liked. Regression testing with Fusion RAID instances has not been possible. Caveat Emptor. Sponsored by: LSI-Logic. Revision Changes Path 1.22 +302 -338 src/sys/dev/mpt/mpt.c 1.13 +172 -24 src/sys/dev/mpt/mpt.h 1.12 +2796 -465 src/sys/dev/mpt/mpt_cam.c 1.13 +64 -0 src/sys/dev/mpt/mpt_debug.c 1.25 +67 -11 src/sys/dev/mpt/mpt_pci.c 1.5 +33 -24 src/sys/dev/mpt/mpt_raid.c 1.3 +1 -1 src/sys/dev/mpt/mpt_reg.h