diff options
author | John Crispin <blogic@openwrt.org> | 2011-06-13 22:37:23 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2011-06-13 22:37:23 +0000 |
commit | 2ad9f05361c0beaa20792f0dbd3f7bec706eaece (patch) | |
tree | 57de59c830a04658e1a9a0aea9be15000259e474 /target/linux/lantiq/patches-2.6.39 | |
parent | 87ba485e6d4d1399ed493e78632b3c4095c2dba3 (diff) | |
download | upstream-2ad9f05361c0beaa20792f0dbd3f7bec706eaece.tar.gz upstream-2ad9f05361c0beaa20792f0dbd3f7bec706eaece.tar.bz2 upstream-2ad9f05361c0beaa20792f0dbd3f7bec706eaece.zip |
[lantiq]
Fix for bug where the iniatialisation of the MAC data private strucure
is copied into the wrong location.
Ticket #9547
Signed-off-by: Conor O'Gorman <conor at dna.ie>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27172 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/patches-2.6.39')
-rw-r--r-- | target/linux/lantiq/patches-2.6.39/200-mach-arv45xx.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/lantiq/patches-2.6.39/200-mach-arv45xx.patch b/target/linux/lantiq/patches-2.6.39/200-mach-arv45xx.patch index a5fa58f1dc..12f7c0034a 100644 --- a/target/linux/lantiq/patches-2.6.39/200-mach-arv45xx.patch +++ b/target/linux/lantiq/patches-2.6.39/200-mach-arv45xx.patch @@ -276,7 +276,7 @@ +arv45xx_register_ethernet(void) +{ +#define ARV45XX_BRN_MAC 0x3f0016 -+ memcpy_fromio(<q_eth_data.mac, ++ memcpy_fromio(<q_eth_data.mac.sa_data, + (void *)KSEG1ADDR(LTQ_FLASH_START + ARV45XX_BRN_MAC), 6); + ltq_register_etop(<q_eth_data); +} @@ -285,7 +285,7 @@ +arv75xx_register_ethernet(void) +{ +#define ARV75XX_BRN_MAC 0x7f0016 -+ memcpy_fromio(<q_eth_data.mac, ++ memcpy_fromio(<q_eth_data.mac.sa_data, + (void *)KSEG1ADDR(LTQ_FLASH_START + ARV75XX_BRN_MAC), 6); + ltq_register_etop(<q_eth_data); +} @@ -294,7 +294,7 @@ +bewan_register_ethernet(void) +{ +#define BEWAN_BRN_MAC 0x3f0014 -+ memcpy_fromio(<q_eth_data.mac, ++ memcpy_fromio(<q_eth_data.mac.sa_data, + (void *)KSEG1ADDR(LTQ_FLASH_START + BEWAN_BRN_MAC), 6); + ltq_register_etop(<q_eth_data); +} |