Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ARM] 4454/1: Use word accesses in Versatile PCI config reads
ARM Versatile PCI config reads of one byte width have the lowest two bits of the address cleared and result in reading from a wrong place in the config space. This change is to use word size accesses like it is done for halfword reads. Byte reads are used for retrieving the IRQ number of a PCI device and the problem was not exposed until 2.6.20 because the value read was discarded in drivers/pci/setup-irq.c (recently fixed). Signed-off-by: Andrzej Zaborowski <[email protected]> Acked-by: Paul Brook <[email protected]> Signed-off-by: Russell King <[email protected]>
- Loading branch information