From owner-freebsd-acpi@FreeBSD.ORG Sat Aug 21 06:39:55 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7202916A4CE for ; Sat, 21 Aug 2004 06:39:55 +0000 (GMT) Received: from st68.arena.ne.jp (st68.arena.ne.jp [203.138.213.2]) by mx1.FreeBSD.org (Postfix) with SMTP id AD32743D53 for ; Sat, 21 Aug 2004 06:39:54 +0000 (GMT) (envelope-from eyes@navi.org) Received: (qmail 15646 invoked by SAV 20040820.19); 21 Aug 2004 15:39:53 +0900 Received: from unknown (HELO localhost) (220.108.97.40) by st68.arena.ne.jp (203.138.213.118) with SMTP; 21 Aug 2004 15:39:53 +0900 Date: Sat, 21 Aug 2004 15:40:03 +0900 To: freebsd-acpi@freebsd.org From: "Hiroyuki Aizu" Organization: navi.org Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-2022-jp MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable Message-ID: User-Agent: Opera M2/7.54 (FreeBSD, build 751) Subject: [PATCH] Some devices does not resetting IRQ after suspend/resume with ACPI. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2004 06:39:55 -0000 Hi. I need the patch against acpi_pci_link.c like bellow. Because some devices does not resetting IRQ after suspend/resume on my Libretto L5. I try on recent 6-current. It looks like just typo. It occurs modify of acpi_pci_link.c between rev 1.18 and 1.19, the "Re-work ACPI PCI IRQ routing". Please apply the patch to 6-current and 5-stable. Thanks. -- Hiroyuki Aizu --- sys/dev/acpica/acpi_pci_link.c.origFri Aug 20 22:56:32 2004 +++ sys/dev/acpica/acpi_pci_link.cSat Aug 21 14:39:34 2004 @@ -1018,7 +1018,7 @@ acpi_pci_link_resume(device_t dev) /* Walk through all PRT entries for this PCI bridge. */ ACPI_SERIAL_BEGIN(pci_link); TAILQ_FOREACH(entry, &acpi_prt_entries, links) { - if (entry->pcidev =3D=3D dev || entry->pci_link =3D=3D NULL) + if (entry->pcidev !=3D dev || entry->pci_link =3D=3D NULL) continue; link =3D entry->pci_link;