This is updated PCIX patch after Eugene comments. Now the ppc4xx_uic_ext_irq_cfg and ppc4xx_core_uic_cfg structures are used to initialize Yucca Interrupt controllers
On Mon, 2005-10-03 at 09:15 -0700, Eugene Surovegin wrote: > On Mon, Oct 03, 2005 at 12:36:08PM +0400, Ruslan V. Sushko wrote: > > This patch adds PCIX support for Yucca PPC440SPe board. The patch is > > implemented for Roland Dreier git tree for Yucca PPC440SPe board. > > > > Signed-off-by: Ruslan V. Sushko <rsushko at ru.mvista.com> > > [snip] > > > + mtdcr(DCRN_UIC_PR(UIC1), > > + mfdcr(DCRN_UIC_PR(UIC1)) & ~0x00004000); /* Set PCI > > interrupt > > + (EXT IRQ12) > > plarity > > + to Negative */ > > Don't mess with UIC registers directly. Take a look how this type of > setup is done in other 4xx ports (e.g. Ebony) and use the same > approach (hint: ppc4xx_uic_ext_irq_cfg). > -------------- next part -------------- A non-text attachment was scrubbed... Name: yucca_pcix2.patch Type: text/x-patch Size: 8777 bytes Desc: not available Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20051006/41abf57a/attachment.bin