]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 3860/1: Versatile PCI config byte accesses
authorPaul Brook <paul@codesourcery.com>
Sun, 24 Sep 2006 15:54:40 +0000 (16:54 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 27 Sep 2006 08:35:07 +0000 (09:35 +0100)
commitc06015148fa9a3cc452ec7121b8c3f59f4a7d6ac
tree348ff2fee459a074987cc1bc8607f8201e782f5f
parent4052ebb7a2729bd7c28260cdf8e470c0d81b9c56
[ARM] 3860/1: Versatile PCI config byte accesses

The ARM Versatile board PCI config space read routines are broken for byte
accesses.  The access uses a byte read, so masking the bottom two bits of the
address is wrong.

I guess this is a cut/paste error from the the halfword code which uses
aligned word access+shift+mask.

Signed-off-by: Paul Brook <paul@codesourcery.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-versatile/pci.c