Skip to contentSkip to conversation

4xx: Set ibpre for 405EX in 4xx PCIe driver

PATCH New Stefan Roese 1 participant 1 message Dec 7, 2007 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 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.

---
 arch/powerpc/sysdev/ppc4xx_pci.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/powerpc/sysdev/ppc4xx_pci.c +2 -0
index 29fa095..bd85a40 100644
@@ -842,6 +842,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;
 }
 
Signature · 1 line
1.5.3.7.949.g2221a6