On 2014/1/7 16:04, Dongsheng Wang wrote:
From: Wang Dongsheng dongsheng.w...@freescale.com
the root port bus-self always NULL, so put root port pci device
into root port bus-self.
Signed-off-by: Wang Dongsheng dongsheng.w...@freescale.com
diff --git a/drivers/pci/probe.c
On 2014/1/7 16:27, Yijing Wang wrote:
On 2014/1/7 16:04, Dongsheng Wang wrote:
From: Wang Dongsheng dongsheng.w...@freescale.com
the root port bus-self always NULL, so put root port pci device
into root port bus-self.
Signed-off-by: Wang Dongsheng dongsheng.w...@freescale.com
diff --git
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index
38e403d..7f2d1ab 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -1472,6 +1472,9 @@ int pci_scan_slot(struct pci_bus *bus, int devfn)
if (!dev-is_added)
nr++;
+ if (pci_pcie_type(dev) ==
On 2014/1/7 17:51, dongsheng.w...@freescale.com wrote:
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index
38e403d..7f2d1ab 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -1472,6 +1472,9 @@ int pci_scan_slot(struct pci_bus *bus, int devfn)
if (!dev-is_added)
...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH 1/2] pci: Fix root port bus-self is NULL
On 2014/1/7 17:51, dongsheng.w...@freescale.com wrote:
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index
38e403d..7f2d1ab 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci