On Fri, 2011-07-01 at 18:44 +0200, Segher Boessenkool wrote:
> > CPC925/CPC945 use special window to access host bridge
> > functionality of
> > u3-ht. Provide a way to access this device.
>
> Why? Is anything going to use it?
>
> > +static int u3_ht_root_read_config(struct pci_controller *hos
Hello,
On 03.07.2011 01:50, Segher Boessenkool wrote:
+static int u3_ht_root_write_config(struct pci_controller *hose, u8
offset,
+ int len, u32 val)
+{
+ volatile void __iomem *addr;
+
+ addr = hose->cfg_addr + ((offset & ~3) << 2) + (4 - len - (offset
& 3));
+
+ if (offset >= PCI_BASE_ADDRESS_
On 7/3/11, Segher Boessenkool wrote:
CPC925/CPC945 use special window to access host bridge
functionality of
u3-ht. Provide a way to access this device.
>>>
>>> Why? Is anything going to use it?
>>
>> Hmmm. Why not?
>
> Because if nothing uses it it is essentially dead code.
1) It
CPC925/CPC945 use special window to access host bridge
functionality of
u3-ht. Provide a way to access this device.
Why? Is anything going to use it?
Hmmm. Why not?
Because if nothing uses it it is essentially dead code.
Initially I stumbled upon the fact that powermac provides
such acces
Hello,
Thanks for the review.
On 7/1/11, Segher Boessenkool wrote:
>> CPC925/CPC945 use special window to access host bridge
>> functionality of
>> u3-ht. Provide a way to access this device.
>
> Why? Is anything going to use it?
Hmmm. Why not? Initially I stumbled upon the fact that powermac
CPC925/CPC945 use special window to access host bridge
functionality of
u3-ht. Provide a way to access this device.
Why? Is anything going to use it?
+static int u3_ht_root_read_config(struct pci_controller *hose, u8
offset,
+ int len, u32 *val)
+{
+
CPC925/CPC945 use special window to access host bridge functionality of
u3-ht. Provide a way to access this device.
Signed-off-by: Dmitry Eremin-Solenikov
---
arch/powerpc/platforms/maple/pci.c | 55
1 files changed, 55 insertions(+), 0 deletions(-)
diff -