mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-06 20:54:00 -05:00
upstream commit 802b7c06adc7 ("ARM: cns3xxx: Convert PCI to use generic config accessors")
reimplemented cns3xxx_pci_read_config() using pci_generic_config_read32(),
which preserved the property of only doing 32-bit reads.
It also replaced cns3xxx_pci_write_config() with pci_generic_config_write(),
so it changed writes from always being 32 bits to being the actual size,
which works just fine.
Due to:
- The documentation does not mention that only 32 bit access is allowed.
- Writes are already executed using the actual size
- Extensive testing shows that 8b, 16b and 32b reads work as intended
It makes perfectly sense to also swap 32 bit reading in favor of actual size.
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
|
||
|---|---|---|
| .. | ||
| backport-4.9 | ||
| backport-4.14 | ||
| backport-4.19 | ||
| files | ||
| hack-4.9 | ||
| hack-4.14 | ||
| hack-4.19 | ||
| image | ||
| other-files | ||
| pending-3.18 | ||
| pending-4.9 | ||
| pending-4.14 | ||
| pending-4.19 | ||
| config-3.18 | ||
| config-4.9 | ||
| config-4.14 | ||
| config-4.19 | ||
| PATCHES | ||