From owner-freebsd-current@FreeBSD.ORG Sat Jun 7 23:53:42 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4A9A37B401; Sat, 7 Jun 2003 23:53:42 -0700 (PDT) Received: from sccrmhc11.attbi.com (sccrmhc11.attbi.com [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id F029243F3F; Sat, 7 Jun 2003 23:53:41 -0700 (PDT) (envelope-from DougB@freebsd.org) Received: from master.dougb.net (12-234-22-23.client.attbi.com[12.234.22.23](untrusted sender)) by attbi.com (sccrmhc11) with SMTP id <2003060806534001100bjjtce>; Sun, 8 Jun 2003 06:53:41 +0000 Date: Sat, 7 Jun 2003 23:53:39 -0700 (PDT) From: Doug Barton To: freebsd-current@freebsd.org Message-ID: <20030607234641.J81111@znfgre.qbhto.arg> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: cvs commit: src/sys/dev/pci pci.c (fwd) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2003 06:53:43 -0000 This set of commits seems to have fixed a perennial problem I've had with my laptop and acpi. Previously, about every 3rd or 4th reboot the pci bus would fail to initialize, the major symptom of which was that the xl card wouldn't set up, and I'd have to reboot again. Disabling acpi eliminated the problem (or the symptom, depending on how you look at it). With a kernel built from the latest sources, the pci bus and xl are happy, but I'm getting flooded with the following: ACPI-0340: *** Error: Could not release ACPI Global Lock, AE_BAD_PARAMETER This is on an older thinkpad A21e. It has run -current fine for over a year, modulo this pci problem, and general thinkpad <> acpi unhappiness. Any other details needed, just ask. Doug -- This .signature sanitized for your protection ---------- Forwarded message ---------- From: John Baldwin To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Date: Sat, 7 Jun 2003 08:00:19 -0700 (PDT) Subject: cvs commit: src/sys/dev/pci pci.c jhb 2003/06/07 08:00:19 PDT FreeBSD src repository Modified files: sys/dev/pci pci.c Log: - Adjust the comment about re-routing PCI interrupts to be less ia64-specific. - When trying to re-route interrupts, don't change cfg->intline if the re-route fails by returning an invalid vector. This fixes machines without any way of routing interrupts such as older PC's without a $PIR table. We do not currently write the new intline value back to the hardware, but we should. That will likely be added in a later commit. Revision Changes Path 1.217 +11 -7 src/sys/dev/pci/pci.c http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/dev/pci/pci.c.diff?&r1=1.216&r2=1.217&f=h