Benjamin Herrenschmidt wrote:
> On Wed, 2007-12-19 at 16:34 +0300, Valentine Barshak wrote:
> 
>>> --- linux-work.orig/arch/powerpc/boot/dts/bamboo.dts        2007-12-10 
>>> 15:56:59.000000000 +1100
>>> +++ linux-work/arch/powerpc/boot/dts/bamboo.dts     2007-12-10 
>>> 16:39:51.000000000 +1100
>>> @@ -239,10 +239,48 @@
>>>                             zmii-channel = <1>;
>>>                     };
>>>             };
>>> +
>>> +           PCI0: [EMAIL PROTECTED] {
>>> +                   device_type = "pci";
>>> +                   #interrupt-cells = <1>;
>>> +                   #size-cells = <2>;
>>> +                   #address-cells = <3>;
>>> +                   compatible = "ibm,plb440ep-pci", "ibm,plb-pci";
>>> +                   primary;
>>> +                   reg = <0 eec00000 8     /* Config space access */
>>> +                          0 eed80000 4     /* IACK */
>>> +                          0 eed80000 4     /* Special cycle */
>>> +                          0 ef480000 40>;  /* Internal registers */
>> Why ef480000 here? IIRC, the docs say it should be ef400000, while 
>> ef400040 - ef4fffff are reserved and can mirror local registers.
> 
> Dunno... probably a typo, though it worked :-) I'll fix it up.

Just checked the ppc440ep user manual again.
Special cycle/IACK registers are at 0xeed00000 instead of 0xeed80000.
Looks like the same typo as in the internal registers.
It works because all these registers are mirrored at 0x80000 offset 
(though it's claimed to be a reserved region).

Thanks,
Valentine.

> 
> Ben.
> 
> 

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to