aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorGrzegorz Jaszczyk <jaz@semihalf.com>2019-07-16 14:13:46 +0200
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2019-10-17 12:42:48 +0100
commite0d9d30b73548fbfe5c024ed630169bdc9a08aee (patch)
tree835d3cd58be17e18abaf4edefb36c52ab7d3a93d /drivers/pci/controller/dwc
parente078723f9cccd509482fd7f30a4afb1125ca7a2a (diff)
downloadkernel_replicant_linux-e0d9d30b73548fbfe5c024ed630169bdc9a08aee.tar.gz
kernel_replicant_linux-e0d9d30b73548fbfe5c024ed630169bdc9a08aee.tar.bz2
kernel_replicant_linux-e0d9d30b73548fbfe5c024ed630169bdc9a08aee.zip
PCI: pci-bridge-emul: Fix big-endian support
Perform conversion to little-endian before every write to configuration space and convert it back to CPU endianness on reads. Additionally, initialise every multiple byte field of config space with the cpu_to_le* macro, which is required since the structure describing config space of emulated bridge assumes little-endian convention. Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions