projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lantiq: ath5k fix in wifi and ethernet eeprom handling patch.
[librecmc/librecmc.git]
/
target
/
linux
/
lantiq
/
patches-3.10
/
0010-MIPS-lantiq-wifi-and-ethernet-eeprom-handling.patch
diff --git
a/target/linux/lantiq/patches-3.10/0010-MIPS-lantiq-wifi-and-ethernet-eeprom-handling.patch
b/target/linux/lantiq/patches-3.10/0010-MIPS-lantiq-wifi-and-ethernet-eeprom-handling.patch
index 403ee97a8392b8974912ec1c5d2b78ce8cd525fe..50c05277106e6d67df87125a4e714d70c56e56e5 100644
(file)
--- a/
target/linux/lantiq/patches-3.10/0010-MIPS-lantiq-wifi-and-ethernet-eeprom-handling.patch
+++ b/
target/linux/lantiq/patches-3.10/0010-MIPS-lantiq-wifi-and-ethernet-eeprom-handling.patch
@@
-246,6
+246,8
@@
Subject: [PATCH 18/22] owrt: lantiq: wifi and ethernet eeprom handling
+ }
+
+ 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);
+ }