Skip to contentSkip to conversation

powerpc/85xx: Update of_platform_bus_probe list to include PCI controller

PATCH In review Lan Chunhe 2 participants 3 messages Nov 5, 2010 – Nov 11, 2010

Subsystems (2)
lore
Share & tools
lore

Lan Chunhe

author
#0 lore raw

PATCH 3/3 powerpc/85xx: Update of_platform_bus_probe list to include PCI controller

We need to get the pci controller created as an of platform device to allow the EDAC driver to bind to it on P4080DS.

---
 arch/powerpc/platforms/85xx/corenet_ds.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/powerpc/platforms/85xx/corenet_ds.c +3 -0
index 2ab338c..bf9b9e5 100644
@@ -116,6 +116,9 @@ static const struct of_device_id of_device_ids[] __devinitconst = {
 	{
 		.compatible	= "fsl,rapidio-delta",
 	},
+	{
+		.compatible	= "fsl,p4080-pcie",
+	},
 	{}
 };
 
Signature · 1 line
1.5.4.5
#1 lore raw

=

Quoted 11 lines · Lan Chunhe

We need to get the pci controller created as an of platform device to allow the EDAC driver to bind to it on P4080DS.
=20

---
arch/powerpc/platforms/85xx/corenet_ds.c | 3 +++

1 files changed, 3 insertions(+), 0 deletions(-)

=20

= renamed from arch/powerpc/platforms/85xx/corenet_ds.c +0 -0

b/arch/powerpc/platforms/85xx/corenet_ds.c

arch/powerpc/platforms/85xx/corenet_ds.c static const struct of_device_id of_device_ids[] =

Quoted 4 lines

index 2ab338c..bf9b9e5 100644

arch/powerpc/platforms/85xx/corenet_ds.c +0 -0
@@ -116,6 +116,9 @@ static const struct of_device_id of_device_ids[] =

__devinitconst =3D {

Quoted 9 lines
arch/powerpc/platforms/85xx/corenet_ds.c +3 -0
 	{
 		.compatible	=3D "fsl,rapidio-delta",
 	},
+	{
+		.compatible	=3D "fsl,p4080-pcie",
+	},
 	{}
 };

=20

We've talked about doing an explicit add of a new node instead of doing = this everywhere. I'd like to see that done instead.

- k

Quoted 3 lines

--=20
1.5.4.5
=20

#2 lore raw
Quoted 14 lines · Kumar Gala

=20
On Nov 5, 2010, at 12:28 AM, Lan Chunhe wrote:
=20

=

Quoted 11 lines

We need to get the pci controller created as an of platform device to allow the EDAC driver to bind to it on P4080DS.
=20

---
arch/powerpc/platforms/85xx/corenet_ds.c | 3 +++

1 files changed, 3 insertions(+), 0 deletions(-)

=20

= renamed from arch/powerpc/platforms/85xx/corenet_ds.c +0 -0

b/arch/powerpc/platforms/85xx/corenet_ds.c

Quoted 4 lines

arch/powerpc/platforms/85xx/corenet_ds.c static const struct of_device_id of_device_ids[] =

Quoted 4 lines

index 2ab338c..bf9b9e5 100644

arch/powerpc/platforms/85xx/corenet_ds.c +0 -0
@@ -116,6 +116,9 @@ static const struct of_device_id of_device_ids[] =

__devinitconst =3D {

Quoted 11 lines
Quoted 9 lines
arch/powerpc/platforms/85xx/corenet_ds.c +3 -0
 	{
 		.compatible	=3D "fsl,rapidio-delta",
 	},
+	{
+		.compatible	=3D "fsl,p4080-pcie",
+	},
 	{}
 };

=20

=20
We've talked about doing an explicit add of a new node instead of =

doing this everywhere. I'd like to see that done instead.

The thread that describes this a bit further is here:

http://patchwork.ozlabs.org/patch/59530/

- k=