Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/4xx: Add pcix type 1 transactions

Some of the newer 4xx pci cores need an explicit bit set to send
type 1 transactions instead of just comparing the bus numbers.

This patch enables type 1 transations for pcix nodes, thus enabling
devices behind PCI bridges.

Signed-off-by: Stef van Os <stef.van.os@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

authored by

Stef van Os and committed by
Benjamin Herrenschmidt
d234b3c3 94afc008

+2 -1
+2 -1
arch/powerpc/sysdev/ppc4xx_pci.c
··· 569 569 hose->last_busno = bus_range ? bus_range[1] : 0xff; 570 570 571 571 /* Setup config space */ 572 - setup_indirect_pci(hose, rsrc_cfg.start, rsrc_cfg.start + 0x4, 0); 572 + setup_indirect_pci(hose, rsrc_cfg.start, rsrc_cfg.start + 0x4, 573 + PPC_INDIRECT_TYPE_SET_CFG_TYPE); 573 574 574 575 /* Disable all windows */ 575 576 writel(0, reg + PCIX0_POM0SA);