Subject: Re: PCI Card Interupt
To: Jeff Rizzo <riz@NetBSD.org>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 05/16/2005 07:19:04
--Signature_Mon__16_May_2005_07_19_04_-0400_iDae=AHuIaUH5Wxo
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> >This stuff has nothing to do with the interrupt handling stuff - it's
> >a bug in macppc's PCI autoconfiguration. Cards behind PCI bridges
> >don't get interrupts assigned if there's no interrupt property in the
> >device ree - the correct behaviour in this case is to inherit the
> >interrupt from the bridge. The fix is simple and it should really
> >have been pulled up into netbsd-2...

> If you can find the revision and request a pullup, I can make sure it
> makes it into 2.1...

The file in question is src/sys/arch/macppc/pci/pci_machdep.c, and I
think it was this commit:=20
revision 1.27
date: 2004/12/07 15:42:08;  author: briggs;  state: Exp;  lines: +17 -7
Bring in some code to deal with devices in the lower slots of a UMAX
S900 and perhaps PowerMac 9500.  These slots sit behind a PCI-PCI
bridge, and devices in those slots inherit the PCI-PCI bridge interrupt.

the last one that was pulled into netbsd-2 was 1.26 - no idea why this
one wasn't.

have fun
Michael

--Signature_Mon__16_May_2005_07_19_04_-0400_iDae=AHuIaUH5Wxo
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQoiBqMpnzkX8Yg2nAQKznAf+LXp3EhoQY8x0Cxso1WDtVWxBrOQPSkt2
Gm1zkDEdz53iAworWYBdvxqmF8m1jAR7T/OH425JjJIHG/qwGA1Fge98esQ7I2KA
8igY7rdUUpbNzM1oO91XkK7nTCsb8ipo3Z79SVWBCABrP2AqRATIyz15f72kJYEa
ZN957ojWXwobzI0RT1IHE2O0bT/mPih9fj+LvMwfnCYRl/0pnAWqT44uipaIu01L
kef2655gsVCbxZDHjVMBHnu+kXrfmzn7x/eFEjTxwwLS26OY6g/FhdrFAFM+PRuJ
wZfHjAQTWTveKsXc+f6tiWun0NTlKZ/E1q5vsNobzhYVnhWnKGp9pg==
=BVe+
-----END PGP SIGNATURE-----

--Signature_Mon__16_May_2005_07_19_04_-0400_iDae=AHuIaUH5Wxo--