Author: blogic Date: 2014-06-04 09:20:22 +0200 (Wed, 04 Jun 2014) New Revision: 40999
Modified: trunk/target/linux/lantiq/patches-3.10/0010-MIPS-lantiq-wifi-and-ethernet-eeprom-handling.patch Log: lantiq: ath5k fix in wifi and ethernet eeprom handling patch. ath5k fix in wifi and ethernet eeprom handling patch. Without the line that adds the patch of_ath5k_eeprom_probe cause a kernel panic, at least with the ARV4518PW. Tested only in the modem-router mentioned above. This patch is based in Bruno's hack present in patch #5454. Signed off by: Bruno Rodr?\195?\173guez <[email protected]> Signed off by: Jos?\195?\169 V?\195?\161zquez Fern?\195?\161ndez <[email protected]> Modified: trunk/target/linux/lantiq/patches-3.10/0010-MIPS-lantiq-wifi-and-ethernet-eeprom-handling.patch =================================================================== --- trunk/target/linux/lantiq/patches-3.10/0010-MIPS-lantiq-wifi-and-ethernet-eeprom-handling.patch 2014-06-04 07:20:02 UTC (rev 40998) +++ trunk/target/linux/lantiq/patches-3.10/0010-MIPS-lantiq-wifi-and-ethernet-eeprom-handling.patch 2014-06-04 07:20:22 UTC (rev 40999) @@ -246,6 +246,8 @@ + } + + eep = ioremap(eep_res->start, resource_size(eep_res)); ++ ath5k_pdata.eeprom_data = kmalloc(ATH5K_PLAT_EEP_MAX_WORDS<<1, ++ GFP_KERNEL); + memcpy_fromio(ath5k_pdata.eeprom_data, eep, + ATH5K_PLAT_EEP_MAX_WORDS << 1); + } _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
