[PATCH 3/3] powerpc/85xx: Update of_platform_bus_probe list to include PCI controller
Kumar Gala
galak at kernel.crashing.org
Thu Nov 11 23:01:36 EST 2010
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 <Kai.Jiang at freescale.com>
>> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
>> Signed-off-by: Lan Chunhe <b25806 at freescale.com>
>> ---
>> 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
More information about the Linuxppc-dev
mailing list