Subject: Re: port-i386/33922: ath0 stopped working after ACPI changes
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 08/20/2006 23:00:14
The following reply was made to PR kern/33922; it has been noted by GNATS.

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-i386/33922: ath0 stopped working after ACPI changes
Date: Sun, 20 Aug 2006 22:50:45 +0200

 --3uo+9/B/ebqu+fSQ
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 This changes fixes the problem, at the expense of suboptimal interrupt
 routing (ath and auich now also go to IRQ 11, where nearly all other
 devices already are).
 
 Sharing SCI seems like a poor idea - should we just delete this section?
 
 Martin
 
 --3uo+9/B/ebqu+fSQ
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename=patch
 
 Index: acpi_pci_link.c
 ===================================================================
 RCS file: /cvsroot/src/sys/dev/acpi/acpi_pci_link.c,v
 retrieving revision 1.4
 diff -u -p -r1.4 acpi_pci_link.c
 --- acpi_pci_link.c	20 Aug 2006 15:10:59 -0000	1.4
 +++ acpi_pci_link.c	20 Aug 2006 20:48:16 -0000
 @@ -987,6 +987,7 @@ acpi_pci_link_choose_irq(struct acpi_pci
  	 * If this is an ISA IRQ, try using the SCI if it is also an ISA
  	 * interrupt as a fallback.
  	 */
 +#if 0
  	if (link->l_isa_irq) {
  		pos_irq = AcpiGbl_FADT->SciInt;
  		pos_weight = pci_link_interrupt_weights[pos_irq];
 @@ -995,6 +996,7 @@ acpi_pci_link_choose_irq(struct acpi_pci
  			best_irq = pos_irq;
  		}
  	}
 +#endif
  
  	if (PCI_INTERRUPT_VALID(best_irq)) {
  		aprint_verbose("%s: Picked IRQ %u with weight %d\n",
 
 --3uo+9/B/ebqu+fSQ--