From: Jo-Philipp Wich Date: Thu, 2 May 2013 10:38:32 +0000 (+0000) Subject: Fix ARV4518PW wifi issue. AA/12.09-rc2. X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=9de681b308d4fae9d5f206c978dc092c47a704cc Fix ARV4518PW wifi issue. AA/12.09-rc2. This patch corrects an issue with the wifi for the ARV4518PW in Attitude Adjustment that involves the PCI bus configuration in this board. The bootlog shows: ath5k: phy0: failed to warm reset the MAC Chip. Commenting this line forces the board definition to be configured with the default PCI_GNT1 | PCI_REQ1 defined in line 138. The wifi and the usb have been deeply tested and they worked without problems. Maybe would be a good idea to make stress tests. Once applied this ticket should be closed: https://dev.openwrt.org/ticket/11704 Signed-off-by: José Vázquez Fernández Signed-off-by: Daniel González SVN-Revision: 36510 --- diff --git a/target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c b/target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c index 6857e993d2..295c661800 100644 --- a/target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c +++ b/target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c @@ -529,7 +529,6 @@ arv4518pw_init(void) ltq_register_gpio_keys_polled(-1, LTQ_KEYS_POLL_INTERVAL, ARRAY_SIZE(arv4518pw_gpio_keys), arv4518pw_gpio_keys); arv_load_nor(0x400000); - ltq_pci_data.gpio = PCI_GNT2 | PCI_REQ2; ltq_register_pci(<q_pci_data); xway_register_dwc(ARV4518PW_USB); arv_register_ethernet(ARV4518PW_MAC_ADDR);