Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2001 13:42:20 -0600
From:      Warner Losh <imp@harmony.village.org>
To:        June-Yen Huang <jihuang@gate.sinica.edu.tw>
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: Fwd: Re: Booting hangs with 4.4-RC 
Message-ID:  <200108291942.f7TJgKn14330@harmony.village.org>
In-Reply-To: Your message of "Wed, 29 Aug 2001 18:15:52 %2B0800." <200108291016.f7TAGDH13793@mail.iis.sinica.edu.tw> 
References:  <200108291016.f7TAGDH13793@mail.iis.sinica.edu.tw>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200108291016.f7TAGDH13793@mail.iis.sinica.edu.tw> June-Yen Huang writes:
:  <  pcic0 <YENTA PCI-CARDBUS Bridge> irq 0 at device 7.0 on pci1

What kind of chip do you have?  pciconf -l will tell you what the IDs
are.  I'd love to know.

Try this patch against the lastest -stable for the irq 0 problem.

Warner

Index: pci_cfgreg.c
===================================================================
RCS file: /home/imp/FreeBSD/CVS/src/sys/i386/isa/Attic/pci_cfgreg.c,v
retrieving revision 1.1.2.5
diff -u -r1.1.2.5 pci_cfgreg.c
--- pci_cfgreg.c	2001/08/28 22:35:30	1.1.2.5
+++ pci_cfgreg.c	2001/08/29 19:38:43
@@ -325,7 +327,8 @@
 	    } 
 
 	    /* look for the real PCI device that matches this table entry */
-	    if ((irq = pci_cfgintr_search(pe, oe->pe_bus, oe->pe_device, j, pin)) != 255)
+	    irq = pci_cfgintr_search(pe, oe->pe_bus, oe->pe_device, j, pin);
+	    if (irq != 0 && irq != 255)
 		return(irq);
 	}
     }



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108291942.f7TJgKn14330>