Fix Versatile PCI config byte accesses
svn path=/dists/trunk/linux-2.6/; revision=7806
This commit is contained in:
parent
6038b55d3a
commit
73aed1633b
|
@ -29,6 +29,7 @@ linux-2.6 (2.6.18-6) UNRELEASED; urgency=low
|
|||
* arm/ixp4xx: Set CONFIG_ATM=m so CONFIG_USB_ATM has an effect.
|
||||
* arm/iop32x: Likewise.
|
||||
* arm/s3c2410: Unset CONFIG_PM_LEGACY.
|
||||
* arm/versatile: Fix Versatile PCI config byte accesses
|
||||
|
||||
[ dann frazier ]
|
||||
* Backport various SCTP changesets from 2.6.19, recommended by Vlad Yasevich
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
commit c06015148fa9a3cc452ec7121b8c3f59f4a7d6ac
|
||||
Author: Paul Brook <paul@codesourcery.com>
|
||||
Date: Sun Sep 24 16:54:40 2006 +0100
|
||||
|
||||
[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>
|
||||
|
||||
--- linux-2.6-2.6.18/arch/arm/mach-versatile/pci.c.orig 2006-11-15 01:33:12.657102390 +0100
|
||||
+++ linux-2.6-2.6.18/arch/arm/mach-versatile/pci.c 2006-11-15 01:33:19.435799210 +0100
|
||||
@@ -117,7 +117,6 @@
|
||||
} else {
|
||||
switch (size) {
|
||||
case 1:
|
||||
- addr &= ~3;
|
||||
v = __raw_readb(addr);
|
||||
break;
|
||||
|
|
@ -16,3 +16,4 @@
|
|||
+ bugfix/bcm43xx-drain-tx-status-before-starting-irqs.patch
|
||||
+ bugfix/video-nvidiafb-divide-zero.patch
|
||||
+ bugfix/scsi-SG_IO-data-direction.patch
|
||||
+ bugfix/arm/versatile-pci.patch
|
||||
|
|
Loading…
Reference in New Issue