From owner-cvs-all Sun Jul 28 21:18:15 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A2B237B400; Sun, 28 Jul 2002 21:18:10 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4226543E31; Sun, 28 Jul 2002 21:18:10 -0700 (PDT) (envelope-from mjacob@FreeBSD.org) Received: from freefall.freebsd.org (mjacob@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6T4IAJU059749; Sun, 28 Jul 2002 21:18:10 -0700 (PDT) (envelope-from mjacob@freefall.freebsd.org) Received: (from mjacob@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6T4IAf9059748; Sun, 28 Jul 2002 21:18:10 -0700 (PDT) Message-Id: <200207290418.g6T4IAf9059748@freefall.freebsd.org> From: Matt Jacob Date: Sun, 28 Jul 2002 21:18:10 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/isp isp_freebsd.c X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG mjacob 2002/07/28 21:18:10 PDT Modified files: (Branch: RELENG_4) sys/dev/isp isp_freebsd.c Log: MFC (1.79-1.80, all as sensible): Add support for ISP_FC_GETHINFO, which returns current connection topology, speed, loopid, WWPN/WWNN, etc., plus other ioctls. Coalesece all the freeze simq for loopdown into a isp_freeze_loopdown inline. Beef up target mode. Add isp_handle_platform_notify_scsi and isp_handle_platform_notify_fc platform handlers to handle immediate notifies (isp_handle_platform_notify_scsi is still stubbed out). In implementation of isp_handle_platform_notify_fc, for IN_ABORT_TASK, peel off a pending XPT_IMMED_NOTIFY and call xpt_done on it and hope that somebody upstream is listening. Make sure on final CTIO2s that we set residual correctly. These are absolutely crucial. Make sure we set relative offset for each CTIO2 based upon bytes we've already xferred. This is what the private adjunct datat to the original ATIO is. Note state of command so we can figure out where to find it if we get an ABORT from the firmware. Make sure we *always* set CAM_TAG_ACTION_VALID for ATIO2s. Make sure we keep track of the original lun. Revision Changes Path 1.32.2.18 +295 -152 src/sys/dev/isp/isp_freebsd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message