From owner-svn-src-all@FreeBSD.ORG Thu Dec 17 00:21:12 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90D541065672; Thu, 17 Dec 2009 00:21:12 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 808AB8FC14; Thu, 17 Dec 2009 00:21:12 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nBH0LClS015297; Thu, 17 Dec 2009 00:21:12 GMT (envelope-from mjacob@svn.freebsd.org) Received: (from mjacob@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nBH0LCWU015295; Thu, 17 Dec 2009 00:21:12 GMT (envelope-from mjacob@svn.freebsd.org) Message-Id: <200912170021.nBH0LCWU015295@svn.freebsd.org> From: Matt Jacob Date: Thu, 17 Dec 2009 00:21:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r200620 - head/sys/dev/ips X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 00:21:12 -0000 Author: mjacob Date: Thu Dec 17 00:21:12 2009 New Revision: 200620 URL: http://svn.freebsd.org/changeset/base/200620 Log: Fix argument order in a call to mtx_init. MFC after: 1 week Modified: head/sys/dev/ips/ips_pci.c Modified: head/sys/dev/ips/ips_pci.c ============================================================================== --- head/sys/dev/ips/ips_pci.c Wed Dec 16 21:53:56 2009 (r200619) +++ head/sys/dev/ips/ips_pci.c Thu Dec 17 00:21:12 2009 (r200620) @@ -154,7 +154,7 @@ static int ips_pci_attach(device_t dev) } sc->ips_ich.ich_func = ips_intrhook; sc->ips_ich.ich_arg = sc; - mtx_init(&sc->queue_mtx, "IPS bioqueue lock", MTX_DEF, 0); + mtx_init(&sc->queue_mtx, "IPS bioqueue lock", NULL, MTX_DEF); sema_init(&sc->cmd_sema, 0, "IPS Command Semaphore"); bioq_init(&sc->queue); if (config_intrhook_establish(&sc->ips_ich) != 0) {