[PATCH 2/3][PPC32] PCI-X support for Yucca
Eugene Surovegin
ebs at ebshome.net
Tue Oct 4 02:15:59 EST 2005
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).
--
Eugene
More information about the Linuxppc-embedded
mailing list