Subject: Re: port-i386/37001 (acpi enabled kernel locks up bringing up fxp0
To: None <joerg@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: netbsd-bugs
Date: 10/30/2007 23:05:09
The following reply was made to PR port-i386/37001; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-i386/37001 (acpi enabled kernel locks up bringing up fxp0
	NIC)
Date: Tue, 30 Oct 2007 23:57:48 +0100

 --cvVnyQ+4j833TQvp
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Thu, Oct 25, 2007 at 03:23:16PM +0000, joerg@netbsd.org wrote:
 > Synopsis: acpi enabled kernel locks up bringing up fxp0 NIC
 
 Please try the attached patch.
 
 Joerg
 
 --cvVnyQ+4j833TQvp
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="acpi_pci_link.c.diff"
 
 Index: acpi_pci_link.c
 ===================================================================
 RCS file: /data/repo/netbsd/src/sys/dev/acpi/acpi_pci_link.c,v
 retrieving revision 1.7
 diff -u -r1.7 acpi_pci_link.c
 --- acpi_pci_link.c	24 Sep 2006 06:03:20 -0000	1.7
 +++ acpi_pci_link.c	30 Oct 2007 18:59:08 -0000
 @@ -987,7 +987,7 @@
  	 * If this is an ISA IRQ, try using the SCI if it is also an ISA
  	 * interrupt as a fallback.
  	 */
 -	if (link->l_isa_irq) {
 +	if (link->l_isa_irq && !PCI_INTERRUPT_VALID(best_irq)) {
  		pos_irq = AcpiGbl_FADT->SciInt;
  		pos_weight = pci_link_interrupt_weights[pos_irq];
  		if (pos_weight < best_weight) {
 
 --cvVnyQ+4j833TQvp--