[OpenWrt-Devel] [PATCH 17/23] ar71xx: refresh 609-MIPS-ath79-ap136-fixes.patch

Zhao, Gang gang.zhao.42 at gmail.com
Fri Jul 25 22:48:52 EDT 2014


Signed-off-by: Zhao, Gang <gang.zhao.42 at gmail.com>
---
 target/linux/ar71xx/patches-3.14/609-MIPS-ath79-ap136-fixes.patch | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/target/linux/ar71xx/patches-3.14/609-MIPS-ath79-ap136-fixes.patch b/target/linux/ar71xx/patches-3.14/609-MIPS-ath79-ap136-fixes.patch
index 4309712..ef0ae9a 100644
--- a/target/linux/ar71xx/patches-3.14/609-MIPS-ath79-ap136-fixes.patch
+++ b/target/linux/ar71xx/patches-3.14/609-MIPS-ath79-ap136-fixes.patch
@@ -86,7 +86,7 @@
  		.gpio		= AP136_GPIO_LED_USB,
  		.active_low	= 1,
  	}
-@@ -98,65 +106,152 @@ static struct gpio_keys_button ap136_gpi
+@@ -98,65 +106,151 @@ static struct gpio_keys_button ap136_gpi
  	},
  };
  
@@ -156,10 +156,9 @@
 -#ifdef CONFIG_PCI
 -static struct ath9k_platform_data ap136_ath9k_data;
 +	ath79_register_mdio(0, 0x0);
++	ath79_init_mac(ath79_eth0_data.mac_addr, art + AP136_MAC0_OFFSET, 0);
  
 -static int ap136_pci_plat_dev_init(struct pci_dev *dev)
-+	ath79_init_mac(ath79_eth0_data.mac_addr, art + AP136_MAC0_OFFSET, 0);
-+
 +	mdiobus_register_board_info(ap136_mdio0_info,
 +				    ARRAY_SIZE(ap136_mdio0_info));
 +
@@ -232,7 +231,7 @@
 +	ap136_common_setup();
  }
 -#else
--static inline void ap136_pci_init(void) {}
+-static inline void ap136_pci_init(u8 *eeprom) {}
 -#endif /* CONFIG_PCI */
  
 -static void __init ap136_setup(void)
-- 
1.9.3
_______________________________________________
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