[PATCH] PCI: generic: Fix address window calculation for non-zero starting bus.

Arnd Bergmann arnd at arndb.de
Thu Oct 8 14:09:16 PDT 2015


On Thursday 08 October 2015 12:54:16 David Daney wrote:
> From: David Daney <david.daney at cavium.com>
> 
> Make the offset from the beginning of the "reg" property be from the
> starting bus number, rather than zero.  Hoist the invariant size
> calculation out of the mapping for loop.
> 
> Update host-generic-pci.txt to clarify the semantics of the "reg"
> property with respect to non-zero starting bus numbers.
> 
> Signed-off-by: David Daney <david.daney at cavium.com>
> 

Thanks a lot!

Reviewed-by: Arnd Bergmann <arnd at arndb.de>



More information about the linux-arm-kernel mailing list