On Tue, 2010-01-12 at 15:09 +0100, Stef van Os wrote: > This patch adds type 1 PCI transactions to 4xx PCI code, enabling the > discovery of > devices behind a PCI bridge.
Your patch appears word wrapped and whitespace damaged... I'll fix it up manually this time around but please check your mailer setup :-) Cheers, Ben. > Signed-off-by: Stef van Os <stef.van...@gmail.com> > --- > arch/powerpc/sysdev/ppc4xx_pci.c | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/arch/powerpc/sysdev/ppc4xx_pci.c > b/arch/powerpc/sysdev/ppc4xx_pci.c > index 6ff9d71..370cc1c 100644 > --- a/arch/powerpc/sysdev/ppc4xx_pci.c > +++ b/arch/powerpc/sysdev/ppc4xx_pci.c > @@ -363,7 +363,8 @@ static void __init ppc4xx_probe_pci_bridge(struct > device_node *np) > hose->last_busno = bus_range ? bus_range[1] : 0xff; > > /* Setup config space */ > - setup_indirect_pci(hose, rsrc_cfg.start, rsrc_cfg.start + 0x4, > 0); > + setup_indirect_pci(hose, rsrc_cfg.start, rsrc_cfg.start + 0x4, > + PPC_INDIRECT_TYPE_SET_CFG_TYPE); > > /* Disable all windows */ > writel(0, reg + PCIL0_PMM0MA); > @@ -569,7 +570,8 @@ static void __init ppc4xx_probe_pcix_bridge(struct > device_node *np) > hose->last_busno = bus_range ? bus_range[1] : 0xff; > > /* Setup config space */ > - setup_indirect_pci(hose, rsrc_cfg.start, rsrc_cfg.start + 0x4, > 0); > + setup_indirect_pci(hose, rsrc_cfg.start, rsrc_cfg.start + 0x4, > + PPC_INDIRECT_TYPE_SET_CFG_TYPE); > > /* Disable all windows */ > writel(0, reg + PCIX0_POM0SA); > > > Disclaimer: The information contained in this email, including any > attachments is > confidential and is for the sole use of the intended recipient(s). Any > unauthorized > review, use, disclosure or distribution is prohibited. If you are not the > intended > recipient, please notify the sender immediately by replying to this message > and > destroy all copies of this message and any attachments. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev