From owner-cvs-src@FreeBSD.ORG Wed Jul 23 09:44:44 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C15D7106575D; Wed, 23 Jul 2008 09:44:44 +0000 (UTC) (envelope-from luoqi@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C08B38FC1A; Wed, 23 Jul 2008 09:44:44 +0000 (UTC) (envelope-from luoqi@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m6N9iixE061559; Wed, 23 Jul 2008 09:44:44 GMT (envelope-from luoqi@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m6N9iiXP061558; Wed, 23 Jul 2008 09:44:44 GMT (envelope-from luoqi@repoman.freebsd.org) Message-Id: <200807230944.m6N9iiXP061558@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to luoqi@repoman.freebsd.org using -f From: Luoqi Chen Date: Wed, 23 Jul 2008 09:44:36 +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.c pci_pci.c pcivar.h 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 Jul 2008 09:44:44 -0000 luoqi 2008-07-23 09:44:36 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c pci_pci.c pcivar.h Log: SVN rev 180753 on 2008-07-23 09:44:36Z by luoqi SATA device on some nForce based boards could get confused if MSI is not used but MSI to HyperTransport IRQ mapping is enabled, and would act as if MSI is turned on, resulting in interrupt loss. This commit will, 1. enable MSI mapping on a device only when MSI is enabled for that device and the MSI address matches the HT mapping window. 2. enable MSI mapping on a bridge only when a downstream device is allocated an MSI address in the mapping window PR: kern/118842 Reviewed by: jhb MFC after: 1 week Revision Changes Path 1.358 +42 -4 src/sys/dev/pci/pci.c 1.51 +7 -1 src/sys/dev/pci/pci_pci.c 1.83 +10 -0 src/sys/dev/pci/pcivar.h