On Nov 11, 2010, at 5:59 AM, Kumar Gala wrote:

> 
> On Nov 5, 2010, at 12:28 AM, Lan Chunhe wrote:
> 
>> We need to get the pci controller created as an of platform device to
>> allow the EDAC driver to bind to it on P4080DS.
>> 
>> Signed-off-by: Kai.Jiang <[email protected]>
>> Signed-off-by: Kumar Gala <[email protected]>
>> Signed-off-by: Lan Chunhe <[email protected]>
>> ---
>> arch/powerpc/platforms/85xx/corenet_ds.c |    3 +++
>> 1 files changed, 3 insertions(+), 0 deletions(-)
>> 
>> diff --git a/arch/powerpc/platforms/85xx/corenet_ds.c 
>> b/arch/powerpc/platforms/85xx/corenet_ds.c
>> index 2ab338c..bf9b9e5 100644
>> --- a/arch/powerpc/platforms/85xx/corenet_ds.c
>> +++ b/arch/powerpc/platforms/85xx/corenet_ds.c
>> @@ -116,6 +116,9 @@ static const struct of_device_id of_device_ids[] 
>> __devinitconst = {
>>      {
>>              .compatible     = "fsl,rapidio-delta",
>>      },
>> +    {
>> +            .compatible     = "fsl,p4080-pcie",
>> +    },
>>      {}
>> };
>> 
> 
> 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
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to