On Oct 28, 2011, at 3:08 AM, Jia Hongtao wrote: > From: Jason Jin <jason....@freescale.com> > > Current pci/pcie init code will hide the pci/pcie host resource. > But did not judge it is host/RC or agent/EP. If configured as > agent/EP, we should avoid hiding its resource in the host side. > > In PCI system, the Programing Interface can be used to judge the > host/agent status: > Programing Interface = 0: host > Programing Interface = 1: Agent > > In PCIE system, both the Programing Interface and Header type can > be used to judge the RC/EP status. > Header Type = 0: EP > Header Type = 1: RC > > Signed-off-by: Jason Jin <jason....@freescale.com> > Signed-off-by: Mingkai Hu <mingkai...@freescale.com> > Signed-off-by: Jia Hongtao <b38...@freescale.com> > Signed-off-by: Li Yang <le...@freescale.com> > --- > arch/powerpc/kernel/pci-common.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-)
applied to next - k _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev