Re: Thoshiba Tecra 8000 with 3com 3CXFE575CT

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Sat, 15 Oct 2005 12:54:19 -0600 (MDT)
Please try this patch.  I think we've had a minor regression in our
PCI BIOS routed interrupts.  Also, please try w/o ACPI enabled to see
if that changes things.  With acpi enabled, I'm not sure this patch
will do anything for you.  If it does with acpi disabled, it gives a
real strong clue what to look for in the acpi code.  We used to always
route the interrupt, even when the bios said it had one, now it looks
like we do that less agressively.

Warner

Index: pci_pir.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/pci/pci_pir.c,v
retrieving revision 1.119
diff -u -r1.119 pci_pir.c
--- pci_pir.c	8 Sep 2005 17:07:12 -0000	1.119
+++ pci_pir.c	15 Oct 2005 18:51:07 -0000
_at__at_ -348,6 +348,9 _at__at_
 			    irq, entry->pe_bus, entry->pe_device, pin + 'A',
 			    pci_link->pl_id);
 		pci_link->pl_irq = irq;
+		if (!pci_link->pl_routed)
+		    pci_pir_biosroute(entry->pe_bus, entry->pe_device, 0,
+		      pin - 1, pci_link->pl_irq);
 		pci_link->pl_routed = 1;
 		return;
 	}
Received on Sat Oct 15 2005 - 16:54:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:45 UTC