Re: PCI bridges & interrupts
From: John Baldwin (jhb_at_FreeBSD.org)
Date: 09/25/03
- Previous message: Clifton Royston: "Re: VIA EPIA-M10000 board "just works" with FreeBSD 4.8"
- In reply to: Bernd Walter: "Re: PCI bridges & interrupts"
- Next in thread: Steve Watt: "RE: PCI bridges & interrupts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 25 Sep 2003 15:09:35 -0400 (EDT) To: Bernd Walter <ticso@cicely12.cicely.de>
On 25-Sep-2003 Bernd Walter wrote:
> On Wed, Sep 24, 2003 at 06:17:43PM -0400, John Baldwin wrote:
>>
>> On 24-Sep-2003 M. Warner Losh wrote:
>> > You might want to make sure that you have an up to date stable. There
>> > was a fix to the PCI bridge interrupt swizzle.
>>
>> Ah yes, that's true. However, it doesn't seem that his interrupt is
>> being routed, but I could be wrong. Also, there is another bug in the
>> $PIR handling that I committed at BSDCon that also might fix the
>> problem.
>
> Is your $PIR fix for the everthing gets IRQ4 case?
Well, when using 'pci_cfgintr_linked' we would get things wrong.
> lcvs diff -u -kk -r1.104 -r1.105 pci_cfgreg.c
Index: pci_cfgreg.c
===================================================================
RCS file: /usr/cvs/src/sys/i386/pci/pci_cfgreg.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -r1.104 -r1.105
--- pci_cfgreg.c 2 Aug 2003 05:14:17 -0000 1.104
+++ pci_cfgreg.c 10 Sep 2003 06:00:53 -0000 1.105
@@ -445,7 +445,7 @@
* table entry
*/
irq = pci_cfgintr_search(pe, oe->pe_bus, oe->pe_device,
- j, pin);
+ j + 1, pin);
if (irq != PCI_INVALID_IRQ)
return(irq);
}
-- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Clifton Royston: "Re: VIA EPIA-M10000 board "just works" with FreeBSD 4.8"
- In reply to: Bernd Walter: "Re: PCI bridges & interrupts"
- Next in thread: Steve Watt: "RE: PCI bridges & interrupts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|