From owner-cvs-all@FreeBSD.ORG Wed Apr 13 16:30:30 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 71FBF16A4CE; Wed, 13 Apr 2005 16:30:30 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 453A043D5A; Wed, 13 Apr 2005 16:30:30 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3DGUUmS060802; Wed, 13 Apr 2005 16:30:30 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3DGUUDu060801; Wed, 13 Apr 2005 16:30:30 GMT (envelope-from imp) Message-Id: <200504131630.j3DGUUDu060801@repoman.freebsd.org> From: Warner Losh Date: Wed, 13 Apr 2005 16:30:30 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/pci pcib_if.m X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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, 13 Apr 2005 16:30:30 -0000 imp 2005-04-13 16:30:30 UTC FreeBSD src repository Modified files: sys/dev/pci pcib_if.m Log: Default to a interrupt router that returns an invalid interrupt. Otherwise, busses that implement the pcib interface that forget to implement pcib_route_interrupt would return EIO, which the caller interprets as 'use interrupt 6'. This is likely the cause of much of the grief that we had when I enabled power modes for the cardbus bridge, since the card needed to reroute the interrupt to it and it was getting 6 which was d by the pccbb sanity checks. Revision Changes Path 1.6 +9 -1 src/sys/dev/pci/pcib_if.m