[OpenWrt-Devel] [PATCH 2/3] ar71xx: allow pci calibration fixup to work with ar9344

Alexander Couzens lynxis at fe80.eu
Sat Jun 20 10:38:24 EDT 2015


Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
---
 target/linux/ar71xx/files/arch/mips/ath79/pci-ath9k-fixup.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/target/linux/ar71xx/files/arch/mips/ath79/pci-ath9k-fixup.c b/target/linux/ar71xx/files/arch/mips/ath79/pci-ath9k-fixup.c
index fcca1d2..2202351 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/pci-ath9k-fixup.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/pci-ath9k-fixup.c
@@ -73,6 +73,9 @@ static void ath9k_pci_fixup(struct pci_dev *dev)
 	case ATH79_SOC_AR7242:
 		pci_write_config_dword(dev, PCI_BASE_ADDRESS_0, 0x1000ffff);
 		break;
+	case ATH79_SOC_AR9344:
+		pci_write_config_dword(dev, PCI_BASE_ADDRESS_0, 0x1000ffff);
+		break;
 
 	default:
 		BUG();
-- 
2.4.2
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list