From owner-cvs-src@FreeBSD.ORG Wed May 23 18:24:06 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 812B316A41F; Wed, 23 May 2007 18:24:06 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by mx1.freebsd.org (Postfix) with ESMTP id 4C41313C4B0; Wed, 23 May 2007 18:24:05 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by core.fnop.net (Postfix) with ESMTP id B2FD16907BB; Wed, 23 May 2007 19:22:55 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 6CFE9690A24; Wed, 23 May 2007 19:22:55 +0100 (WEST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on core.fnop.net X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,RCVD_IN_SORBS_DUL autolearn=no version=3.1.7 Received: from epsilon.local.fnop.net (87-196-112-200.net.novis.pt [87.196.112.200]) by core.fnop.net (Postfix) with ESMTP id B604E6907BB; Wed, 23 May 2007 19:22:53 +0100 (WEST) Date: Wed, 23 May 2007 19:23:14 +0100 Message-ID: <86bqgbs8kt.wl%rpaulo@fnop.net> From: Rui Paulo To: Andrew Gallatin In-Reply-To: <200705231531.l4NFV12H058289@repoman.freebsd.org> References: <200705231531.l4NFV12H058289@repoman.freebsd.org> User-Agent: Wanderlust/2.15.5 (Almost Unreal) Emacs/21.3 Mule/5.0 (SAKAKI) X-cite-me: rpaulo MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: ClamAV using ClamSMTP Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/pci pci_pci.c 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: Wed, 23 May 2007 18:24:06 -0000 At Wed, 23 May 2007 15:31:01 +0000 (UTC), Andrew Gallatin wrote: > > gallatin 2007-05-23 15:31:01 UTC > > FreeBSD src repository > > Modified files: > sys/dev/pci pci_pci.c > Log: > Fix a typo in pcib_alloc_msi{x} which resulted in the > device's, not the bridge's, softc to be used to check the > PCIB_DISABLE_MSI flag. This resulted in randomly allowing > or denying MSI interrupts based on whatever value the driver > happened to store at sizeof(device_t) bytes into its softc. > > I noticed this when I stopped getting MSI interrupts > after slighly re-arranging mxge's softc yesterday. Wow, I'll have to try this out on msk(4).. -- Rui Paulo