From owner-cvs-all@FreeBSD.ORG Sat Nov 18 07:33:54 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2345716A415; Sat, 18 Nov 2006 07:33:54 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 241D147D33; Sat, 18 Nov 2006 07:33:52 +0000 (GMT) (envelope-from scottl@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 kAI7Xr0t085123; Sat, 18 Nov 2006 07:33:53 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kAI7Xrll085122; Sat, 18 Nov 2006 07:33:53 GMT (envelope-from scottl) Message-Id: <200611180733.kAI7Xrll085122@repoman.freebsd.org> From: Scott Long Date: Sat, 18 Nov 2006 07:33:53 +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/mfi mfi.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Nov 2006 07:33:54 -0000 scottl 2006-11-18 07:33:53 UTC FreeBSD src repository Modified files: sys/dev/mfi mfi.c Log: Change the internal API for polled commands. Calling mfi_polled_command after calling mfi_mapcmd is no longer needed, so long as the MFI_CMD_POLLED flag is set. This change eliminates the possibility of a polled command getting posted twice to the driver. This is turn fixes panics on shutdown when INVARIANTS is set. Sponsored by: Ironport Revision Changes Path 1.23 +39 -83 src/sys/dev/mfi/mfi.c