From owner-cvs-all@FreeBSD.ORG Wed May 23 15:31:01 2007 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 A5D8916A400; Wed, 23 May 2007 15:31:01 +0000 (UTC) (envelope-from gallatin@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7907713C45A; Wed, 23 May 2007 15:31:01 +0000 (UTC) (envelope-from gallatin@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l4NFV1Ib058317; Wed, 23 May 2007 15:31:01 GMT (envelope-from gallatin@repoman.freebsd.org) Received: (from gallatin@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l4NFV12H058289; Wed, 23 May 2007 15:31:01 GMT (envelope-from gallatin) Message-Id: <200705231531.l4NFV12H058289@repoman.freebsd.org> From: Andrew Gallatin Date: Wed, 23 May 2007 15:31:01 +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/pci pci_pci.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: Wed, 23 May 2007 15:31:01 -0000 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. Revision Changes Path 1.49 +2 -2 src/sys/dev/pci/pci_pci.c