From: Stefan Roese Date: Fri, 7 Dec 2007 09:34:34 +0000 (+1100) Subject: [POWERPC] 4xx: Set ibpre for 405EX in 4xx PCIe driver X-Git-Tag: v2.6.25-rc1~1131^2~158 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=55aaf6ecf796b809100abfbdf359ef8309a7aac9;p=linux-2.6-omap-h63xx.git [POWERPC] 4xx: Set ibpre for 405EX in 4xx PCIe driver This patch sets the ibpre flag (Inbound Presence) for the 405EX in the 4xx PCIe driver. Signed-off-by: Stefan Roese Signed-off-by: Josh Boyer --- diff --git a/arch/powerpc/sysdev/ppc4xx_pci.c b/arch/powerpc/sysdev/ppc4xx_pci.c index a656dc004b8..3c2c14c32e7 100644 --- a/arch/powerpc/sysdev/ppc4xx_pci.c +++ b/arch/powerpc/sysdev/ppc4xx_pci.c @@ -844,6 +844,8 @@ static int ppc405ex_pciex_init_port_hw(struct ppc4xx_pciex_port *port) dcr_write(port->dcrs, DCRO_PEGPL_CFG, 0x10000000); /* guarded on */ + port->has_ibpre = 1; + return 0; }