In message <006f01c15d7c$1e995e20$0500000a@LORENZO> "Dr. Lorenzo Iania" writes:
: pci_cfgintr_search: linked (41) to configured irq 0 at 0:2:0

I have a patch for this:

Index: pci.c
===================================================================
RCS file: /cache/ncvs/src/sys/pci/Attic/pci.c,v
retrieving revision 1.141.2.10
diff -u -r1.141.2.10 pci.c
--- pci.c       2001/08/21 17:21:13     1.141.2.10
+++ pci.c       2001/08/27 07:01:38
@@ -1610,7 +1610,8 @@
                 * If device doesn't have an interrupt routed, and is
                 * deserving of an interrupt, try to assign it one.
                 */
-               if ((type == SYS_RES_IRQ) && (cfg->intline == 255) &&
+               if ((type == SYS_RES_IRQ) &&
+                   (cfg->intline == 255 || cfg->intline == 0) &&
                    (cfg->intpin != 0) && (start == 0) && (end == ~0UL)) {
                        cfg->intline = pci_cfgintr(pci_get_bus(child),
                            pci_get_slot(child), cfg->intpin);

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to